How to run two codes simultaneously ?
이전 댓글 표시
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!');
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Using audio files에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!