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: simulink
Replies: 1   Last Post: May 26, 2013 2:36 PM

Advanced Search

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

Posts: 349
Registered: 1/27/12
Re: simulink
Posted: May 26, 2013 2:36 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Your question isn't clear.

If you want to do a comparison as the simulation is running then you need to use something like the unit delay block (if discrete time) or memory block (if continuous time) to keep track of previous values (so that they can be compared to current signal values).

If you want to look at signal traces after a simulation is completed then you need to log the signal(s) of interest.
This can be done in multiple ways, the easiest is to use a To Workspace block, or right click on a signal and select the logging option.

If neither of the above is what you're looking for then you need to make your intention clearer.

Phil.


Date Subject Author
5/25/13
Read simulink
Lacen
5/26/13
Read Re: simulink
Phil Goddard

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.