I have a script that take some time to execute. I launch it in a C++ function, using Matlab Engine.
To monitor the execution of the script, I wanted to add some disp('still alive') into it. However, it does not work, nothing is displayed into the matlab command window opened by engOpen (yes, I am sure the script is running, since I get output files at the execution end).
Any idea how I could get it to work ?
Beside, is it possible to get such heartbeats at script runtime, into the Windows command using engOutputBuffer ?
Thanks !