message box in the code
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Image Analyst
le 27 Sep 2013
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.
Plus de réponses (2)
Guy Reading
le 10 Avr 2019
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 commentaires
Image Analyst
le 10 Avr 2019
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
le 11 Avr 2019
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.
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!