Effacer les filtres
Effacer les filtres

warndlg() and msgbox() not passing string

2 vues (au cours des 30 derniers jours)
Douglas Anderson
Douglas Anderson le 8 Déc 2021
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 commentaires
Rik
Rik le 9 Déc 2021
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 le 9 Déc 2021
Thanks Rik. Your comment was a good clue to just restart MATLAB.

Connectez-vous pour commenter.

Réponse acceptée

Douglas Anderson
Douglas Anderson le 8 Déc 2021
When all else fails, Reboot! :)

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by