.OpenModelica.Scripting.getModelicaPath

Information

The MODELICAPATH is a list of paths to search when trying to load a library. It is a string separated by colon (:) on all OSes except Windows, which uses semicolon (;).

To override the default path (OPENMODELICAHOME/lib/omlibrary/:~/.openmodelica/libraries/), set the environment variable OPENMODELICALIBRARY=...

On Windows the HOME directory '~' is replaced by %APPDATA%

Interface

function getModelicaPath
  output String modelicaPath;
end getModelicaPath;

Generated at 2024-11-20T19:25:51Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos