You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have a way to load a model from MSL or an other library in your Modelica library path with ModelicaSystem.
Apparently some new users are struggling with this, see this question on StackOverflow.
The only solution I could found to load an example from MSL was to search for the path of my MSL libnrary and use
If I called omc.sendExpression('loadModel(Modelica, {"3.2.3"})') or omc.sendExpression('loadFile("/path/to/lib/omlibrary/Modelica 3.2.3/package.mo")') before I would like to just use:
I would like to have a way to load a model from MSL or an other library in your Modelica library path with
ModelicaSystem
.Apparently some new users are struggling with this, see this question on StackOverflow.
The only solution I could found to load an example from MSL was to search for the path of my MSL libnrary and use
If I called
omc.sendExpression('loadModel(Modelica, {"3.2.3"})')
oromc.sendExpression('loadFile("/path/to/lib/omlibrary/Modelica 3.2.3/package.mo")')
before I would like to just use:The text was updated successfully, but these errors were encountered: