WOLFRAM SYSTEMMODELER LINK PACKAGE SYMBOL

WSMNames


returns a list of the models loaded in the Wolfram SystemModeler kernel.

WSMNames[patt]
returns the models matching the string pattern patt.


only returns specialized classes of the kind .

DetailsDetails

  • WSMNames[patt] allows the same string patterns as StringMatchQ.
  • With , only classes with 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

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Load Wolfram SystemModeler Link:

In[1]:=
Click for copyable input

Get all models loaded in the SystemModeler kernel:

In[1]:=
Click for copyable input
Out[1]//Short=

Show all examples in the Modelica rotational mechanics library:

In[1]:=
Click for copyable input
Out[1]=

Get only a specific type of class:

In[1]:=
Click for copyable input
Out[1]=