Connecting Gui to another m.file

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

 Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de Feb. de 2012

0 votos

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.

Más respuestas (0)

Categorías

Más información sobre File Operations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Feb. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by