Why does the INPUT function return the wrong data when called from within a UIMENU object in MATLAB 6.5 (R13)?

1 Ansicht (letzte 30 Tage)
I am generating a figure with UIMENU objects. In the callback functions for these objects, I use a call to the INPUT function to retrieve user input from MATLAB command line interface. Upon attempting to input data using this interface, the proper data is not returned. Instead, a structure that I do not recognize is returned.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, read below for any possible workarounds:
This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, read below for any possible workarounds:
This is a bug in MATLAB 6.5.1 (R13sp1) in the way that the INPUT function handles data when called from a UIMENU object immediately after issuing a call to the PACK function or specifying a CLEAR ALL command.
To work around this issue, try using a predefined input dialog box by using the INPUTDLG function instead of the INPUT function to gather user input.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by