WSMNames is being phased out in favor of SystemModels, which was introduced experimentally in Version 11.3.


returns a list of the models loaded in the Wolfram System Modeler kernel.


returns the models matching the string pattern patt.


only returns specialized classes of the kind "spec".

Details and Options

  • WSMNames[patt] allows the same string patterns as StringMatchQ.
  • With WSMNames[patt,"spec"], only classes with "spec" are returned:
  • "class"general class
    "model"model class
    "block"input/output block
    "connector"connector class
    "function"function definition
    "package"collection of classes and constants
    "record"collection class
    "type"type specification
  • Returned names are represented using DotName.


open allclose all

Basic Examples  (4)

Load Wolfram System Modeler Link:

Get all models loaded in the System Modeler kernel:

Show all examples in the Modelica rotational mechanics library:

Get only a specific type of class:

Scope  (1)

Use a StringExpression to get Modelica standard library examples containing q:

Applications  (1)

Get the number of each class type in the Modelica Standard Library:

Do the same for "IntroductoryExamples" and "DocumentationExamples":