How to set multiple ports for a step input block
3 views (last 30 days)
Is it possible to set multiple ports for a step input block? I am tying to run two models with PID controller in simulink and I need two different step signals to be used as the set input for both models.
It is troublesome by using two step signal blocks as I need to set the final value of the signals seperately. So how can I set the final value of the two signal in one identical parameter setting GUI? Is it possible?
Please advice. Thank you very much.
Jarrod Rivituso on 9 Mar 2012
I believe you can use a single Step block, and then for the various parameters (such as the Final Value parameter) you can set a vector, such as
This will cause the Step block to output a vector signal, and you can demux the signal to get each element (or use the Selector block).