Increase the widthof the little red line marker errors in the code

1 visualización (últimos 30 días)
Michael
Michael el 14 de Jul. de 2022
Respondida: prabhat kumar sharma el 22 de En. de 2025
AS I get older my eyes lose contrast and my memory just loses
There the second means I want to see as much code on the screen as possible
The first means that I miss many of the errors matlab recognizes --leading to wasted time
How can I increase the width of the curly red marker under error in .mat files?
  2 comentarios
Walter Roberson
Walter Roberson el 14 de Jul. de 2022
I suspect that you meant in .m files instead of .mat
Which MATLAB version are you using? The editor had a major change a small number of releases ago.
Michael
Michael el 14 de Jul. de 2022
Correct I meant .m files but if there is an editor for .mat files (what ever they are) I suspect that their marker is too small too :-)
I use some older version when my students have old GPU's
The small size of the error markerr has been same for the many version -- it is just my eyes are getting older
The current version iI am hoping to fix today is R2020b

Iniciar sesión para comentar.

Respuestas (1)

prabhat kumar sharma
prabhat kumar sharma el 22 de En. de 2025
Hello Michael,
I see you're looking for a way to make the red error underlines more noticeable in MATLAB. Unfortunately, there's no built-in option to adjust the thickness of these underlines.
However, starting with MATLAB R2022b, you can use the Code Analyzer App to spot and fix code issues, including errors and areas for improvement. To open the Code Analyzer App, you can:
- Go to the Apps tab in the MATLAB Toolstrip, and under MATLAB, click the app icon.
- Alternatively, you can enter "codeAnalyzer" at the MATLAB Command Prompt.
For more details about the Code Analyzer App, you can check this link: [MATLAB Code Analyzer Documentation](https://www.mathworks.com/help/matlab/matlab_prog/check-code-for-errors-and-warnings.html#bs3g0g_).
I hope this helps!

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by