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: 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 ]
Tiger

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.
____________
Regards,
T



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.