Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How to call/run a .m file by selecting a menu bar item from main .m file
1 回表示 (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
KL
2017 年 12 月 4 日
use its callback
m = uimenu;
m.Text = 'myFunction';
m.Callback = @myFunction;
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!