GNU/Octave support

Give some feedback on openEMS.

Moderators: thorsten, sebastian

Post Reply
jmfriedt
Posts: 1
Joined: Sun 26 Jun 2022, 15:57

GNU/Octave support

Post by jmfriedt » Sun 26 Jun 2022, 17:44

Amazing piece of software, installed both from github and debian package, thank you.

A quick note about GNU/Octave support: the examples mention support for Octave 3.3.52 which might have been a time when all packages were automagically loaded. That is not the case anymore and packages must be loaded manually. That breaks Matlab compatibility which I handle in the header of my scripts with

if (exist ("OCTAVE_VERSION", "builtin") > 0) % if running GNU/Octave: load toolboxes
pkg load csxcad
pkg load openems
end

For what it is worth, this simple addition to the matlab/examples/antennas will make them compatible with current (>5) versions of GNU/Octave.
Thanks

valege
Posts: 4
Joined: Thu 31 Mar 2022, 19:11

Re: GNU/Octave support

Post by valege » Tue 13 Sep 2022, 22:18

another remark:

it is possible to install octave with snap. Octave installed as user and with snap cannot access other folders than some pre-defined folders and the corresponding home folder thus if openEMS is not installed in one of these folders you will not be able to load openEMS, maybe a warning in the wiki would be helpful

Post Reply