Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

run a .mos from within another .mos

run a .mos from within another .mos

Hi,

I wonder if it's possible to specify in a .mos file to run another .mos file.
For Dymola, this works in a .mos file:

RunScript("Path/to/Script.mos");

Is there an equivalent for omc?
thanks,
Roel

Re: run a .mos from within another .mos

runScript("path/to/script");

Re: run a .mos from within another .mos

Thanks Adrian.
To spare some or your time in the future: where should I have found this myself?  Is there documentation of all possible script commands?

Thanks,

There are 0 guests and 0 other users also viewing this topic
You are here: