Real-Time Windows Target | ![]() ![]() |
Types of Parameters
You can change parameter values while running the real-time application by changing the values in
Simulink external mode also supports side-effects functions. For example, given an expression in a Gain block of 2*a+b
, the expression is evaluated and the resulting value is exported to the real-time application during execution.
When a parameter in a Simulink model is changed, the communication module rtwinext.dll
transfers the data to the external real-time application and changes the model parameters. Only the parameters that do not result in model structure modification can be changed. If the structure is modified, you must recompile the model. Model structure changes are detected automatically using model checksum and reported to the MATLAB command window to avoid conflicts.
![]() | Parameter Tuning | Changing Model Parameters | ![]() |