MATLAB: Do I get an error message when I questdlg function

errorimage analysisImage Processing ToolboxMATLABmessagequestdlg

Hi,
I got an error message in my code that occurs this morning.
I use questdlg in my code which was fine yesterday, but this morning I got an error message, as shown in the image below.
Does anyone know how to overcome this issue? Because yesterday was working fine but this morning is not working !!!
Thank you

Best Answer

Add the default button (last argument) to be one of the specified buttons:
answer1 = questdlg('Strained Method?', ...
'Options',...
'Expanded strain at the facet','Compressed strain at the facet','Expanded strain at the facet');
Related Question