How to run two codes simultaneously ?
Mostrar comentarios más antiguos
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!');
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Using audio files en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!