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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos


Versión

R13SP1

Community Treasure Hunt

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

Start Hunting!

Translated by