Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

execute the .m file from GUI

Asked by Arun Badigannavar on 22 Nov 2012

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

1 Comment

Arun Badigannavar on 22 Nov 2012

help me out

Arun Badigannavar

Tags

Products

1 Answer

Answer by Walter Roberson on 22 Nov 2012
Accepted answer

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

AnotherFunction

0 Comments

Walter Roberson

Contact us