Why does the QUESTDLG function display an error message when the "Figure Copy Template" page of the "Preferences" dialog has been left open in MATLAB 7.0 (R14)?

1 次查看(过去 30 天)
I open the MATLAB Preferences by selecting "File -> Preferences" and click on the "Figure Copy Template" Tab. I then type the following at the MATLAB command prompt:
Quest = questdlg('What is your answer?','Error Check','Yes','No','Yes')
On clicking either of the buttons in that dialog box, I get the following error message:
??? No method 'FigureRemoved' with matching signature found for class 'com.mathworks.page.prefs.FigureStyleOptions'.
Warning: Error occurred while evaluating listener callback.
> In $MATLAB\toolbox\matlab\uitools\questdlg.p>questdlg/doDelete at 386
In $MATLAB\toolbox\matlab\uitools\questdlg.p>questdlg at 355
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing
matlabroot
at the MATLAB command prompt.)

采纳的回答

MathWorks Support Team
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
We have verified that there is a bug in MATLAB 7.0 (R14) when the QUESTDLG function is used after the "Figure Copy Template" page of the MATLAB Preferences menu is open or was closed by clicking the "Cancel" button. To work around this issue, please close the Preferences menu by clicking the 'OK' button.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by