Why do I get an error message when I questdlg function
조회 수: 2 (최근 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!