For Programmers: Free Programming Magazines  


Home > Archive > Matlab > July 2006 > Signal logging retrieval after sim paused ...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Signal logging retrieval after sim paused ...
Jocelyn Maltais

2006-07-31, 7:17 pm

Is there a way (programmatically) to know that Simulink has finished
writing signal logging data to the workspace after a simulation
pause?

I have tried the followings (after pausing the simulation
programmatically) without any luck:

.. 'pause' command. It seems that the 'pause' command prevents Matlab
from continuing its own command queue and prevents signal logging to
occur.
.. 'while ~exist(varname) end' loop. It locks up Matlab and no signal
logging occurs. In fact, dead end since CTRL-Alt-Delete has to be
used to regain control of my PC :(
.. timer events

etc ...

Mathworks support can't help. Honestly, I won't give up as I really
think a solution is possible. Your help would be appreciated.

Jocelyn
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com