Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: How to change the value of a parameter in simulink for different simulation time?
Replies: 1   Last Post: Jul 28, 2013 12:17 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Yeoh

Posts: 1
Registered: 7/25/13
How to change the value of a parameter in simulink for different simulation time?
Posted: Jul 25, 2013 5:31 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

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.

Thank you.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.