.OpenModelica.Scripting.setModelicaPath

Sets the Modelica library path.

Information

Sets the OPENMODELICALIBRARY (MODELICAPATH in the language specification) environment variable in OpenModelica. See loadModel() for a description of what the MODELICAPATH is used for.

Set it to empty string to clear it: setModelicaPath("");

Interface

function setModelicaPath
  input String modelicaPath;
  output Boolean success;
end setModelicaPath;

Generated at 2025-04-25T18:20:13Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos