WSMLink`
WSMLink`
WSMNames
WSMNames is being phased out in favor of SystemModels, which was introduced experimentally in Version 11.3.
WSMNames[]
returns a list of the models loaded in the Wolfram System Modeler kernel.
WSMNames[patt]
returns the models matching the string pattern patt.
WSMNames[patt,"spec"]
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.
Examples
open allclose allBasic Examples (4)
Scope (1)
Use a StringExpression to get Modelica standard library examples containing q: