why this command does not work

조회 수: 1 (최근 30일)
mohamed  al-asklany
mohamed al-asklany 2012년 7월 5일
"pause ()" i used this command in my function and i use this function in my gui and i acquire data from simulink when i start this function which contain "pause command" data from simulink stopped until i exit the function which contain "pause command" what can i do?
  댓글 수: 1
TAB
TAB 2012년 7월 9일
It is not clear, how you are acquiring data from simulink and in which function you are calling pause().
Please explain your problem with neat details.

댓글을 달려면 로그인하십시오.

답변 (1개)

Luffy
Luffy 2012년 7월 5일
편집: Walter Roberson 2012년 7월 8일
Try command:
To pause your code at a point try,
uiwait;
at the point where you want to resume execution of your code try,
uiresume;
  댓글 수: 3
Luffy
Luffy 2012년 7월 6일
편집: Walter Roberson 2012년 7월 8일
So you do not want data from Simulink to stop until you exit function,you still want data to come,
Try ,
pause on;
pause(n) % n is n.o seconds
mohamed  al-asklany
mohamed al-asklany 2012년 7월 9일
편집: Walter Roberson 2012년 7월 9일
when i use pause() i can get data from simulink but the other function contain pause command stopped until i exit simulink

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by