WOLFRAM SYSTEMMODELER LINK PACKAGE SYMBOL

WSMCreateModelString


creates a string with the Modelica model , of systems model sys.


creates a string for the system equations eqns with independent variable t.


creates a string with type specifications tspecs for variables and parameters.


creates a string extending the specification given by .

DetailsDetails

  • takes the same arguments and options as WSMCreateModel.
  • Instead of committing newmodel to the SystemModeler kernel, returns a Modelica string representation.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Load Wolfram SystemModeler Link:

In[1]:=
Click for copyable input

Generate a model string based on a StateSpaceModel:

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

Create a model based on a TransferFunctionModel:

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

Create a block that adds 1 to the input:

In[1]:=
Click for copyable input

Create the block, extending a SISO block interface:

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