필터 지우기
필터 지우기

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