Questions on changing font size in errordlg pop-up box OR changing font color in sprintf to be displayed in editbox in matlab GUI

1 view (last 30 days)
Hi everyone,
I am new in matlab, and currently doing a project to create a matlab gui using GUIDE.
I have been trying to display an error message either using "sprintf" to display on editbox OR "errordlg" pop-up box (as an alternative way to display the error). I am able to display the error message on either editbox or errordlg. However, I can't change the font color to red using sprintf. So, I tried "errordlg" pop-up box, it works too, but the font size is too small. And I don't know how to change it either. I have looked around and found some things on cprintf (unfortunately, it displays on command window instead of the gui), and tweaking 'msgbox' stock function to no luck based on the following recommendation I found :
Does anyone know or have any recommendation to solve this?
Thanks for your help.

Accepted Answer

Image Analyst
Image Analyst on 11 Aug 2014
You can use GUIDE to make a custom dialog box where you can pass in the string, the font size and color, etc.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!