Matlab: store occasions when realtime not reached?

Concerning processing components: filters, file load/save, visualizations, communication ...
Post Reply
Nico A.
Posts: 8
Joined: Thu Mar 07, 2019 8:05 am

Matlab: store occasions when realtime not reached?

Post by Nico A. »

Hi, I'd like to investigate why my Matlab script lags in OpenVibe.
So far I store all the "toc" values (i.e. how much time has passed since beginning of the Matlab process function) in a Matlab array.
Then, after finishing the Scenario, I can plot the toc values.
However I can't seem to pinpoint exactly when the lag starts (i.e. the time Point when the console first says "[ WARNING ] <Player::can not reach realtime>").
Is there a way to check within Matlab when realtime is lost? This way I could store it as a variable and plot it as well.

Post Reply