execute the .m file from GUI

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

 采纳的回答

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 个)

类别

帮助中心File Exchange 中查找有关 Adding custom doc 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by