The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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: 358
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.


Date Subject Author
Read simulink
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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.