How to run two codes simultaneously ?
Ältere Kommentare anzeigen
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!');
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Using audio files finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!