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
459 stars 156 forks source link

struct_2_xml incompatibility in octave #48

Closed buttercutter closed 5 years ago

buttercutter commented 5 years ago

When I try to run the http://openems.de/index.php/Tutorial:_Simple_Patch_Antenna.html tutorial within octave, I have the following error.

One other user had reported exact similar error in the openems forum

error: fprintf: invalid stream number = -1 error: called from struct_2_xml at line 20 column 2 WriteOpenEMS at line 19 column 1 Simple_Patch_Antenna at line 110 column 1

buttercutter commented 5 years ago

Giving write permission to the directory where Simple_Patch_Antenna.m located solved the problem.