Calling the code behind PushButton Pressed Event

2 visualizaciones (últimos 30 días)
Jason
Jason el 27 de Ag. de 2020
Comentada: Jason el 27 de Ag. de 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

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 27 de Ag. de 2020
Editada: Cris LaPierre el 27 de Ag. de 2020
app.GetSingleSpectrumButtonPushed(app, event)
You can see a similar answer here.

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by