Clear Filters
Clear Filters

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

3 views (last 30 days)
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.

Answers (1)

Walter Roberson
Walter Roberson on 13 Dec 2015
function YourGUI_pushbutton1_Callback(hObject, event, handles)
name_of_script_without_the_m_extension_goes_here

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!