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)?

3 views (last 30 days)
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.)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!