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:

The parameter value has changed in the model:

Rename a model by giving it a name:

The model now has the new name:

Properties & Relations  (1)

SystemModel generates a new model with applied changes:

SetSystemModel makes changes in place:

Introduced in 2018
 (11.3)