MATLAB GUI

Hi, I have encountered a problem in the developing the GUI. I managed to create the button and also my GUI interface but I do not know how to insert the code into the GUI. Meanwhile, for instance if I wish to enter a html code for eg: www.google.com into a push button so that when i click on it will automatically forward it to the website without showing out in the command window like what this code did (disp('This is a link to href="http://www.yahoo.com">Yahoo</a.');). I m very poor in my matlab skill and wish to seek for more help here. Thank you in advance.

 Risposta accettata

Walter Roberson
Walter Roberson il 8 Mar 2011

0 voti

Use the property inspector to locate the pushbutton, and use the property inspector to change the Callback property of the pushbutton to invoke your routine.

3 Commenti

MrPuzzled Marc
MrPuzzled Marc il 8 Mar 2011
Do you know any functions that can add in so that when I add the link into the push button. When i clicked on the push button, it will automatically opened the website(for eg:google)? I tried using disp('This is a link to <a href="http://www.yahoo.com">Yahoo</a>.'); . The website link appears on the command window when I click on the push button on my GUI.But now I wish instead on appearing on the command window, it appears on the another new figure showing the webpage?
Walter Roberson
Walter Roberson il 8 Mar 2011
web('http://www.google.com')
MrPuzzled Marc
MrPuzzled Marc il 8 Mar 2011
Thank you very much for your help.You solved my problems.Thanks alot.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by