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!