Simulink model parameter update and observations at discrete times
I have a Simulink model M which includes a parameter p. Assume that I want to simulate M over the the time period [0, T]. Also assume that I get an output y from the model M.
Now consider discrete time points [0 t_1, t_2, …, t_n] in the time interval [0, T]. At each t_i I want to change p in the model and want to get the value of y.
How can I do this?I have a Simulink model M which includes a parameter p. Assume that I want to simulate M over the the time period [0, T]. Also assume that I get an output y from the model M.
Now consider discrete time points [0 t_1, t_2, …, t_n] in the time interval [0, T]. At each t_i I want to change p in the model and want to get the value of y.
How can I do this? I have a Simulink model M which includes a parameter p. Assume that I want to simulate M over the the time period [0, T]. Also assume that I get an output y from the model M.
Now consider discrete time points [0 t_1, t_2, …, t_n] in the time interval [0, T]. At each t_i I want to change p in the model and want to get the value of y.
How can I do this? simulink MATLAB Answers — New Questions