AppDesigner: Deleting CallBackFunctions
조회 수: 11 (최근 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?
댓글 수: 0
채택된 답변
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.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!