MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
how to execute .m file from gui push button,
I have a separate GUI .m file In this I want to execute another .mfile on click of push button
Direct link to this comment:
help me out
In the callback code for the push button, add a line which is just the name of the .m file. For example if the .m file is AnotherFunction.m then the line to add would be
Direct link to this answer: