SetSystemModel

SetSystemModel[model,spec]

changes model parameters, initializations or other properties in place.

Details

Examples

open allclose all

Basic Examples  (2)

Set the value of a parameter a in a model:

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

The parameter value has changed in the model:

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

Rename a model by giving it a name:

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

The model now has the new name:

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

Properties & Relations  (1)

See Also

SystemModel  SystemModelExamples

Introduced in 2018
(11.3)