App Designer _ PushButton Callback

10 次查看(过去 30 天)
Hi all,
i have a small question with Pushbotton Callback using AppDesigner.
I want if i press the bottom to let Matlab take me to a website. How shall i do this?
Thanks in advance for your help and time :)
Mamduh

采纳的回答

Kojiro Saito
Kojiro Saito 2022-1-11
Simple way is to add web function in ButtonPushed callback.
% Button pushed function: Button
function ButtonPushed(app, event)
web('https://mathworks.com')
end

更多回答(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