- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Adding custom library to modelica?
Adding custom library to modelica?
Adding custom library to modelica?
I tried opening a file from a library, but I keep getting an error:
Failed to load package Banks () using MODELICAPATH C:\OpenModelica1.11.0-64bit\lib\omlibrary\OpenIPSL\Electrical\;C:/OpenModelica1.11.0-64bit/lib/omlibrary.
Re: Adding custom library to modelica?
What do you mean by
USER wrote:
opening a file from a library
If you want to load a custom library in OMEdit you'd typically use the File/Load Library command from the menu bar. This will allow you to brwose to the destination of your custom library to open the contained package.mo file or if the library is stored in one file, then open the <lib_name>.mo file. This way the working directory is not changed by the library will show up in the class browser in OMEdit.
Re: Adding custom library to modelica?
Env.variable OPENMODELICALIBRARY can be used
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Adding custom library to modelica?