Can we add a variable inside the pause command?
1 回表示 (過去 30 日間)
古いコメントを表示
Can we add a variable inside the pause command? for example pause(wait(i))?
0 件のコメント
採用された回答
David Sanchez
2015 年 1 月 14 日
If you read the documentation
doc pause
you will see that you can add a variable inside the pause command.
One example:
w = 1;
for k=1:2
pause(w) % pause one second before executing next sentence
disp(i)
end
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Object Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!