MATLAB: Control parameters of a simulink block

controlparameterssimulink

Hi,
Is it possible to control parameters of a simulink block with another block? Say create a block which controls the 'seed' value of 'Random Number Generator'.
Thanks Senmeis

Best Answer

In general, this is not a supported workflow, please see How Do I Change a Block Parameter Based on the Output of Another Block? The suggested solution would be re-implement the block so that the parameter value is accepted via an input port.