I´ve been using set_param -function with my simulations during the last days. However, now I can´t somehow use it with my step-function in order to set a new "final value" for the step-block between several simulations. Below you can see how I´ve defined the settings for the step-function:
As you can see, the Step-function is named as "Ref" and the parameter, that I would like to change between several simulations is named "reference".
Below you can see the top view of my simulink model:
In my matlab script I try to change the "reference" value inside the step-function as follows:
When the software comes to the "set_param" point, I get this error message:
Step block does not have a parameter named 'reference'
The set_param -function has worked several times for me, but now there´s a problem with step-function. What is wrong in my simulations?
Thank you for any kind of help!