warndlg() and msgbox() not passing string

3 次查看(过去 30 天)
Hello,
All of a sudden, warndlg() and msgbox() don't pass the string.
If I type
warndlg('My Warning','Title')
the dialog box has the correct title, but no warning icon and no message! Same with msgbox()
Any ideas?
Thanks.
Doug Anderson
  7 个评论
Rik
Rik 2021-12-9
The operating system (OS, so Windows, MacOS, Ubuntu, Arch, etc) provides an application program interface (API) to do things like determining what files are in a folder etc. One of the things the OS can do is make a window. That is why the documentation warns that the windows may look differently between operating systems.
Douglas Anderson
Douglas Anderson 2021-12-9
Thanks Rik. Your comment was a good clue to just restart MATLAB.

请先登录,再进行评论。

采纳的回答

Douglas Anderson
Douglas Anderson 2021-12-8
When all else fails, Reboot! :)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by