Hi!
When the script finishes processing the data, it asks the user whether it should run again to process more data, or it should just end.
This should be a simple while loop, but somehow, I am struggling with it…
Here is my code:
repeatVar = 'yes';while repeatVar == 'yes' %data processing goes here
repeatVar = questdlg('Do you want to use this script to process another file?','Yes','No','No');end
Where is the error?
Thanks!
Best Answer