command to Create a news window

1 Ansicht (letzte 30 Tage)
Leotsing
Leotsing am 19 Jun. 2016
Kommentiert: Leotsing am 19 Jun. 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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 19 Jun. 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 Kommentar
Leotsing
Leotsing am 19 Jun. 2016
your answer perfectly solves my problem, thank you!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Steven Lord
Steven Lord am 19 Jun. 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 Kommentar
Leotsing
Leotsing am 19 Jun. 2016
thank you very much, the 'msgbox()' is just what I want.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Develop uifigure-Based Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by