command to Create a news window

1 visualizzazione (ultimi 30 giorni)
Leotsing
Leotsing il 19 Giu 2016
Commentato: Leotsing il 19 Giu 2016
I want to know what command can create a news window jump to show something?(@Image 1) I have already search uifigure' with 'uialert'can work similarly to that(@Image 2). But I want to make the @Image 1 very much. -----Thanks to all people answer or view&think about this question

Risposta accettata

Walter Roberson
Walter Roberson il 19 Giu 2016
See msgbox(), possibly changing the graphics image for it. warndlg() might be appropriate.
warndlg() and errordlg() and dialog() and msgbox() all use the same internal mechanism, just with different default graphics image.
  1 Commento
Leotsing
Leotsing il 19 Giu 2016
your answer perfectly solves my problem, thank you!

Accedi per commentare.

Più risposte (1)

Steven Lord
Steven Lord il 19 Giu 2016
Are you asking how to create a dialog? If so take a look at the documentation for the msgbox function and also the documentation for the functions that are listed in the See Also section of the msgbox page. If not, please state in more detail exactly what you're trying to do.
  1 Commento
Leotsing
Leotsing il 19 Giu 2016
thank you very much, the 'msgbox()' is just what I want.

Accedi per commentare.

Categorie

Scopri di più su Develop uifigure-Based Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by