- Index
- » Users
- » bolognesit
- » Profile
Posts
Posts
Dear all,
is there a way to pass parameters to a script mos?
For instance I would like to pass a model name like:
#omc RLCircuit test.mos
and in test.mos do
...
loadFile(param1); getErrorString(); // instead of loadFile(RLCircuit.mo);
Thank you
Thomas
Hi Matthis,
thank you for your suggestions.
Yes I was able to run emscripten basic examples (as described on the emscripten homepage), but I wasn't able to compile my modelica model.
I defined my simcodeTarget as Javascript.
Still trying...
Regards,
Thomas
Hi,
I have the same issue, both on Windows 10 and Ubuntu 16.04.
In Windows 10 emcc command is not recognized when mos script is launched (emcc is in path).
In Ubuntu 16.04 the _node.js file is generated, but the direct .js file is missing.
The error in log is: ChuaCircuit.o is not valid LLVM bitcode.
Any suggestions?
Thank you very much,
Thomas
- Index
- » Users
- » bolognesit
- » Profile