Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to call/run a .m file by selecting a menu bar item from main .m file

1 回表示 (過去 30 日間)
Ehab
Ehab 2017 年 12 月 4 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I'm new in MatLab and I'm designing a tool kit of different functions (each in a .m file) and I designed a main .m file ( and .fig file) with different menu bar items. I'd like to execute any function that I created by selecting it from the menu bar. Please help

回答 (1 件)

KL
KL 2017 年 12 月 4 日
use its callback
m = uimenu;
m.Text = 'myFunction';
m.Callback = @myFunction;

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by