warndlg() and msgbox() not passing string

조회 수: 6 (최근 30일)
Douglas Anderson
Douglas Anderson 2021년 12월 8일
댓글: Douglas Anderson 2021년 12월 9일
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