Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Tiger
Posts:
83
Registered:
6/22/12


Access simulation data using dwork vector in level2 mfiunction
Posted:
Nov 26, 2012 10:28 PM


Hi all,
Assume, in a Simulink model, I generate data every sample time. I have variable A and B. I'm writing a level2 msfunction 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 level2 function.
Many thanks in advance. ____________ Regards, T



