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: Access simulation data using dwork vector in level-2 m-fiunction
Replies: 1   Last Post: Nov 26, 2012 10:39 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
Access simulation data using dwork vector in level-2 m-fiunction
Posted: Nov 26, 2012 10:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all,

Assume, in a Simulink model, I generate data every sample time. I have variable A and B. I'm writing a level-2 m-s-function that's meant to store all A's data in a Dwork vector which I use to compare it against B.

I think I'm failing at either/both storing all of A's data everytime a new value is generated, also at reading the whole of A instead of instantaneous value.

Can anyone please help me at ensuring A is fully read everytime envoked in the level-2 function.

Many thanks in advance.

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.