Why do I get an error message when I questdlg function
3 次查看(过去 30 天)
显示 更早的评论
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/653430/image.png)
Does anyone know how to overcome this issue? Because yesterday was working fine but this morning is not working !!!
Thank you
4 个评论
采纳的回答
Chunru
2021-6-15
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');
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dialog Boxes 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!