message box in the code
조회 수: 6 (최근 30일)
이전 댓글 표시
IS it possible to Bold the messages in the message box..?
I want to highlight all the messages in the message box either using color or font weight
댓글 수: 4
채택된 답변
Image Analyst
2013년 9월 27일
Unfortunately msgbox() doesn't allow formatting options for the text it displays. I've put in a request for this a long time ago. I'd encourage you to send an email to support@mathworks.com asking for it also. In the meantime I think you're stuck writing your own little dialog box.
추가 답변 (2개)
Guy Reading
2019년 4월 10일
For anyone reading this still: Image Analyst's answer is incorrect. You can include italics / bold. Please see Jan's answer of this, on a similar question:
댓글 수: 2
Image Analyst
2019년 4월 10일
I believe it was correct 6 years ago when I wrote it, but NOW you can do it, as the link, and my attached utility msgboxw() show.
Guy Reading
2019년 4월 11일
Yes, I noticed the date at which you wrote it, I also noticed that Jan's answer was 2 years earlier than you comment. This being said, perhaps the dating system is incorrect, or I overlooked something else. Apologies for the heavy-handed answer.
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!