Why am I unable to view the callbacks for my GUI components in the Editor when I click on them in the GUIDE property inspector in MATLAB 7.6 (R2008a)?

3 visualizaciones (últimos 30 días)
When I right-click on a GUI component in GUIDE and click on "View Callbacks > Callback" I am not taken to the component's callback function in the GUI program file. Instead the property inspector opens up. If I click on the icon next to the "Callback" property, nothing happens.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 21 de En. de 2010
This behavior can manifest if a GUIDE FIG-file is copied to create a new GUI. When the new FIG-file is opened in GUIDE, the callback properties of the GUI components still point to the old GUI program file. Therefore, if a new component is added, its callbacks will not be automatically created in the GUI program file and attempts to view the callback functions will be unsuccessful.
To correctly copy an existing GUI to a new GUI, open it up in GUIDE and choose "File > Save As". This will create a new GUI program file and modify all the callbacks of the GUI components.

Más respuestas (0)

Categorías

Más información sobre Printing and Saving en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by