AnsweredAssumed Answered

matlab cosimulation in the loop

Question asked by nukihs on Apr 19, 2011
Latest reply on Apr 21, 2011 by kkladopoulos
I am trying to do a loop simulation: in loop, I need to run a matlab script to generate some parameter for the next loop and feed back to the loop.

However, I found, Ptolemy does not run as I expected. The matlab module actually takes all the data (for the total number of samples as I specified in DF) at one time. It does not process sample by sample.

Can anyone tell me how to fix this? Thanks very much.  

Outcomes