How to run two codes simultaneously ?
Afficher commentaires plus anciens
Hello,
How can I run two codes run stimultaneously for ? I want two of them to start exactly on the same time. Is there any way to execute them by starting at the same time.
% invoke function is for the signal I want to play. It triggers another software to start.
invoke(h, 'MeasureNoSave');
% when invoke function begins, the set function below should also begin simultaneously. However, they run after 'invoke' function
% that is, they are asynchronous :(
set(handles.pushbutton1,'String','Playing!');
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Using audio files 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!