thliebig / openEMS

openEMS is a free and open-source electromagnetic field solver using the EC-FDTD method.
http://openEMS.de
GNU General Public License v3.0
453 stars 156 forks source link

Cant install the octave integration: error: 'isOctave' undefined near line 17, column 4 #92

Closed fcolecumberri closed 1 year ago

fcolecumberri commented 2 years ago

I am running on linux, I have already added the:

addpath("/usr/local/share/openEMS/matlab/");

to the .octave file and then execute the setup instruction, I only get the next error:

error: 'isOctave' undefined near line 17, column 4
error: called from
    setup at line 17 column 4

Any help?

ra1nb0w commented 2 years ago

same issue; have you found a fix? thanks

fcolecumberri commented 2 years ago

same issue; have you found a fix? thanks

No

ra1nb0w commented 2 years ago

resolved running the following command in Octave

addpath('/usr/share/CSXCAD/matlab');
addpath('/usr/share/openEMS/matlab');
savepath

then you can exit and re-open Octave and setup works fine.

If you are using Archlinux check https://aur.archlinux.org/packages/openems-git#comment-889757