- Index
- » Developer
- » OpenModelica development
- » Pass parameters to mos script
Page Start Prev 1 Next End
Pass parameters to mos script
Pass parameters to mos script
May-08-17 07:59:21
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
Page Start Prev 1 Next End
- Index
- » Developer
- » OpenModelica development
- » Pass parameters to mos script
There are 0 guests and 0 other users also viewing this topic