Syntax on a callback when setting a push button to run a script.

2 次查看(过去 30 天)
I have a script that is an excuse generator. I have that script finished but I cannot get it to run using a push button.

回答(1 个)

Walter Roberson
Walter Roberson 2015-12-13
function YourGUI_pushbutton1_Callback(hObject, event, handles)
name_of_script_without_the_m_extension_goes_here

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by