Info

This question is closed. Reopen it to edit or answer.

I got one code and that was generated in MATLAB 2014 and when I am trying to open in 2016 version I am unable to open that.Can anyone help me with that?

1 view (last 30 days)
Please find the above attachment and find the code in it. Can anyone rewrite this code for 2016 version? Or else let me know how do we generate it in 2016 version.

Answers (1)

Walter Roberson
Walter Roberson on 30 Nov 2016
Change
disp('User Pressed Cancel ');
break;
to
error('User Pressed Cancel ');

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!