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.

 採用された回答

Kevin Holly
Kevin Holly 2022 年 3 月 29 日
編集済み: Kevin Holly 2022 年 3 月 29 日

10 投票

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.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeInteractive Control and Callbacks についてさらに検索

製品

リリース

R2022a

質問済み:

2022 年 3 月 28 日

編集済み:

2022 年 3 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by