How do I delete a callback function from an app in App Designer?

I cannot delete a callback function from my app using the procedure
described by the MathWorks Support Team dated 27 March 2019:
"To delete these functions, navigate to the Code View in App Designer. Then, right click on the callback in the 'Code Browser' pane, under 'Callbacks'.
Right click on the callback, then select 'Delete'."
When I right click on the callback, nothing happens. I cannot get a "Delete" to select.

 Akzeptierte Antwort

Kevin Holly
Kevin Holly am 29 Mär. 2022
Bearbeitet: Kevin Holly am 29 Mär. 2022

10 Stimmen

Does the callback text hightlight when you click it as shown below?
Within App Designer, you can right click the callback under the 'Callback tab' within the 'Code Browser', which is on the left side panel. See screenshot below.
After right clicking the callback you wish to delete, select Delete as shown below.

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by