I want to update a parameter found in the mask of a block with the value of the signal that is output by a different block. For example, I would like to set the 'Phase' parameter associated with the Sine Wave block to the signal value output by a Pulse Generator block.
MATLAB: Is it possible to update the parameters of a block using the output of another block in Simulink
anotherblockchangedynamicallyinputmodeloneoutputparametersset_paramsignalsimulinkvaluevariablesworkspace
Related Question
- How to vary a block parameter as if it is tied to a dynamic simulation parameter such as a block input and update at each simulation time step in Simulink 6.5 (R2006b)
- How to get a list of a Simulink block’s parameters
- Does the function REPLACE_BLOCK give an error when using dynamic masking of a library block in Simulink 7.1 (R2008a)
- Can I set the data parameter of a Fromworkspace block by programming ??
Best Answer