going next command after specified time
조회 수: 3 (최근 30일)
이전 댓글 표시
does anyone know, is there this capability in MATLAB? : when i run a m-file, it asks some questions for example it asks: 'if you want to plot type 1 and enter' then until i don't enter 1, not going next command line and stay in this question. but i need displays countdown and if i didn't enter 1, then after finishing time, automatically goes next command.
thanks
댓글 수: 0
채택된 답변
Grzegorz Knor
2011년 9월 1일
If you use the INPUT function you can try replace it with the WAITINPUT:
Grzegorz
댓글 수: 8
Grzegorz Knor
2011년 9월 2일
I have no idea, because your code in my Matlab (7.10.0.499 - R2010a on Linux 2.6.38-11-generic-pae) works seamlessly.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Performance and Memory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!