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 and Simulation Data
Replies: 5   Last Post: Feb 13, 2013 4:58 PM

Advanced Search

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

Posts: 83
Registered: 6/22/12
Re: Simulink and Simulation Data
Posted: Sep 19, 2012 10:20 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

In more generic terms:

How can we check if one variable has a value that exists in another variable in real-time, given that each variable changes its value with time.

I've tried writing to workspace, but unfortunately I can't access the data during the simulation. I tried using functions like 'ismember' and 'intersect' in an embedded matlab function but i'm struggling at making the differnt variables talk to each other smoothly, I'm sure it's a data fromatting issue, but unfortuantely haven't made it to work yet.

Many thanks.

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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.