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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 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.

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by