App Designer _ PushButton Callback

8 Ansichten (letzte 30 Tage)
Mamduh Deeb
Mamduh Deeb am 10 Jan. 2022
Beantwortet: Kojiro Saito am 11 Jan. 2022
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by