Date: Jul 25, 2013 5:31 AM
Subject: How to change the value of a parameter in simulink for different simulation time?
I built a microturbine system and would like to change the parameter of my load (Active Power) from 0 at 0 second to 100kW at 10s then 200kW at 15s and stop simulation at time = 20s. How to do it? I try a lot method such as get_param('my_model','SimulationTime') but it can't work. I write my data in script file and use sim('my_model').
Not to mention about my system. I really really wonder how to change parameter for something simple in simulink may be the gain from 0 at 0s to 1 at 5s then to 2 at 10s.