Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Ehab
Ehab el 4 de Dic. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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

Respuestas (1)

KL
KL el 4 de Dic. de 2017
use its callback
m = uimenu;
m.Text = 'myFunction';
m.Callback = @myFunction;

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by