Borrar filtros
Borrar filtros

How to display row numbers in variable view?

10 visualizaciones (últimos 30 días)
Igor Gayday
Igor Gayday el 12 de Feb. de 2022
Comentada: Prasanna Konyala el 18 de Feb. de 2022
How to display row numbers larger than 100 in the variable view? As you can see from the screenshot, they are just replaced with "1.." and I do not see a way to resize the column with row numbers (unlike others).

Respuestas (1)

Prasanna Konyala
Prasanna Konyala el 15 de Feb. de 2022
Matlab default settings makes sure that the width of the column is enough to accommodate the row numbers. According to your screenshot, it seems that you have changed font setting in matlab preferences. That might be the reason for the issue you are facing. Try changing back to default setting to see if the error is resolved. I couldn’t reproduce the issue at my end with both default and custom settings. If the issue still persists after changing back to default, It can be your OS display settings that is causing the issue. Try changing OS custom display setting to resolve the issue.
Use this document to know details regarding changes within matlab preferences-https://www.mathworks.com/help/matlab/ref/preferences.html?searchHighlight=preferences&s_tid=srchtitle_preferences_1
  2 comentarios
Igor Gayday
Igor Gayday el 16 de Feb. de 2022
At the time when this screenshot was taken, I had never changed the default settings. As a workaround, I changed it later to reduce the font size, which resolved the issue. If I switch back to default, then the issue appears again. Which OS display settings do you suggest to change? I have never changed the default display settings either.
Prasanna Konyala
Prasanna Konyala el 18 de Feb. de 2022
To restore any lost default preferences you can try the following:
Run the following command in the MATLAB command prompt in order to locate your preferences directory:
>> prefdir
This is where your "matlab" prf file is located. Rename it to "matlab.old" and reopen matlab.
If this doesn't work, try reinstalling the matlab.
And regarding OS settings, I am not sure which setting can effect as matlab behaves differently on different operating systems.

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by