Write to a model instance parameter
Simulink / Signal Routing
The Parameter Writer block changes block parameter values in a referenced model by writing to instance parameters belonging to a Model block referencing a model.
Use the Parameter Writer block with the Initialize Function and Reset Function blocks to respond to events. For example, an event could be reading the value from a hardware sensor, and then updating a model parameter based on the sensor value.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Event Listener | Initialize Function | Model | Reset Function | State Reader | State Writer | Terminate Function