Calling the code behind PushButton Pressed Event

6 次查看(过去 30 天)
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

采纳的回答

Cris LaPierre
Cris LaPierre 2020-8-27
编辑:Cris LaPierre 2020-8-27
app.GetSingleSpectrumButtonPushed(app, event)
You can see a similar answer here.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by