How to apply modifiers to error messages
Mostrar comentarios más antiguos
Hi there this is the code I have been working with and I want to know from an actual example on how to apply a change in font size to the error pop up window. I am aware of the modifiers, using "TeX Markups," but this is extremely not clear in that there are no simple examples. Can someone tell where '\fontsize{15} text' goes?
opts = struct('WindowStyle','replace',...
'Interpreter','tex')
f = errordlg('This is my error message')
The way its written it looks like this is where it goes, but this is clearly not correct.
f = errordlg('\fontsize{15}This is my error message')
Thank you for whowever can help me with this.
All the best!
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 30 de Oct. de 2020
f = errordlg('\fontsize{3}This is my error message', 'Woops', opts);
Where 'Woops' is the title to give to the dialog.
1 comentario
Cameron Grace
el 30 de Oct. de 2020
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!