Clear Filters
Clear Filters

command to Create a news window

1 view (last 30 days)
Leotsing
Leotsing on 19 Jun 2016
Commented: Leotsing on 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

Accepted Answer

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

Sign in to comment.

More Answers (1)

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

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!