MATLAB Answers

Calling the code behind PushButton Pressed Event

4 views (last 30 days)
Jason
Jason on 27 Aug 2020
Commented: Jason on 27 Aug 2020
Hello, Im using appdesigner and want to call the code thats behind a pushButtom pressed event:
function GetSingleSpectrumButtonPushed(app, event)
%my Code
How would I call this code without pushing the push button

  0 Comments

Sign in to comment.

Accepted Answer

Cris LaPierre
Cris LaPierre on 27 Aug 2020
Edited: Cris LaPierre on 27 Aug 2020
app.GetSingleSpectrumButtonPushed(app, event)
You can see a similar answer here.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by