MATLAB Answers


Pausing in Matlab Mobile

Asked by David Koenig on 29 Jul 2014
Latest activity Commented on by Katerina Chrysostomou on 3 Apr 2019
I am trying to convert my scripts so that I can run them on my iPad. Most of my scripts generate many figures and have pauses after each so the user can view the graph before going on. Is there any way to pause in Matlab Mobile?


Sign in to comment.


2 Answers

Answer by Image Analyst
on 29 Jul 2014

Does it not work the same way? In other words, have you tried
uiwait(helpdlg('Click OK to Continue'));
promptMessage = sprintf('Do you want to Continue processing,\nor Cancel to abort processing?');
titleBarCaption = 'Continue?';
button = questdlg(promptMessage, titleBarCaption, 'Continue', 'Cancel', 'Continue');
if strcmpi(button, 'Cancel')
and it doesn't stop and ask you anything?


Sign in to comment.

Answer by Jerry
on 30 Jul 2014

MATLAB Mobile only supports the pause(n) syntax of pause where n is the number of seconds you would like to pause.

  1 Comment

It is only letting me pause for maximum 2 seconds when using my iphone! Does anyone know how to increase the time?

Sign in to comment.