AppDesigner: Deleting CallBackFunctions

19 visualizaciones (últimos 30 días)
Jan Majewski
Jan Majewski el 11 de Jul. de 2018
Respondida: Hassaan Maqsood el 26 de Ag. de 2019
Hello, I just deleted a CallBackFunction to reorder the Callbackfunctions (which is not possible otherwise). I did it by selecting noCallBack in the ButtonProperties. But the Callbackfunction didnt get deleted. I tried restarting AppDesigner and I even deleted the button. The shell of the Callbackfuntion is still in the Code. How can i delete it?

Respuesta aceptada

Melissa Williams
Melissa Williams el 28 de Jul. de 2018
Hi, Selecting 'No Callback' in the button properties "disconnects" the button and the callback but does not delete the callback. To delete the callback, select the Callbacks tab in the Code browser (to the left of the editor in code view) and select the callback you wish to delete. You can delete it with the delete key or right-click, delete.

Más respuestas (1)

Hassaan Maqsood
Hassaan Maqsood el 26 de Ag. de 2019

Categorías

Más información sobre Simulink Environment Customization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by