AppDesigner: Deleting CallBackFunctions

27 次查看(过去 30 天)
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?

采纳的回答

Melissa Williams
Melissa Williams 2018-7-28
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.

更多回答(1 个)

Hassaan Maqsood
Hassaan Maqsood 2019-8-26

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by