Can we add a variable inside the pause command?
6 views (last 30 days)
Show older comments
Ali on 14 Jan 2015
Answered: David Sanchez on 14 Jan 2015
Can we add a variable inside the pause command? for example pause(wait(i))?
David Sanchez on 14 Jan 2015
If you read the documentation
you will see that you can add a variable inside the pause command.
w = 1;
pause(w) % pause one second before executing next sentence
More Answers (0)
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!