Timer object does not work in compiled standalone executable
Afficher commentaires plus anciens
I've written a simple code as below to try out the timer object:
T = timer('Period', 0.25, 'ExecutionMode','fixedRate','TasksToExecute',100,'TimerFcn','disp(1);');
start(T);
The code works in Matlab but does not work after compiling it to a standalone executable using mcc function. The exe file runs and displays '1' once then the window is closed. Any idea what is the error?
Thank you.
Réponses (2)
Catégories
En savoir plus sur C Shared Library Integration dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!