Connecting Gui to another m.file

17 views (last 30 days)
i want to create a push button that will automatically link to another m file and run the m.file how do i create that?
thanks

Accepted Answer

Walter Roberson
Walter Roberson on 23 Feb 2012
You would put a call to the file in the callback of the push button.
If the other file is a script, use the "run" command.
If the other file is a function, just code a call to the function.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!