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

1 view (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!