About the DymolaCommands Library and Use of Commands

The DymolaCommands library contains recommended commands (built-in functions) that can be used in scripting.

Important: The DymolaCommands library must be opened by searching for the library. See Open with Search.

The following is an overview of the available groups. For included functions, open the library. For details about a certain function, see

  • information given by typing, in the input command line of the Modelica Scripting window, see Help.
  • The documentation layer of the function.

Important:
  • Function names are case sensitive.
  • Arguments must in most cases be added, even for functions having no arguments, for example when using the function getLastError, the call must be getLastError(); to be valid.
  • File paths cannot be specified using \, you must use / or \\ instead, for example E:/MyExperiment/Plots/....

This page discusses:

See Also
About Scripting