Get the input text bold
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Anders Bartley Hallingstad
el 29 de Sept. de 2016
Respondida: Walter Roberson
el 29 de Sept. de 2016
Hey,
I would like the input, the numbers, to appear Bold in the command window. Any ideas? Attached screen print of code. (Excuse the norwegian). Feel free to comment any other piece of the code! Thanks

0 comentarios
Respuesta aceptada
Walter Roberson
el 29 de Sept. de 2016
That is not possible in MATLAB, not at the time of input.
What is possible is displaying text to the command window with some of it being bold and some of it not. To do that use cprintf() from the File Exchange. That is, after you got the inputs from the user, you could redisplay the prompts and associated input.
Note: cprintf() is not suitable for writing to files, only to the command window. And if your goal is to use the "publish" function then I suspect it is not an appropriate solution.
0 comentarios
Más respuestas (1)
Massimo Zanetti
el 29 de Sept. de 2016
Open MATLAB, select the HOME tab, click on PREFERENCES. On the left of the window appearing, click on FONTS and select what you prefer.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
