contextmenu in axes in GUI

How can I add to a GUI axes a context menu which contains RIght and Left options and inside of them 1 2 and 3 option (for each of them).

2 件のコメント

Adam Danz
Adam Danz 2019 年 11 月 11 日
How was the gui created? AppDesigner?
Collegue
Collegue 2019 年 11 月 12 日
with GUIDE

サインインしてコメントする。

回答 (1 件)

Adam Danz
Adam Danz 2019 年 11 月 12 日
編集済み: Adam Danz 2019 年 11 月 12 日

0 投票

Follow the example described in the documentation (link below). This code will go in your OpeningFcn function.

カテゴリ

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

質問済み:

2019 年 11 月 11 日

編集済み:

2019 年 11 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by