How to display row numbers in variable view?

15 vues (au cours des 30 derniers jours)
Igor Gayday
Igor Gayday le 12 Fév 2022
Commenté : Prasanna Konyala le 18 Fév 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).

Réponses (1)

Prasanna Konyala
Prasanna Konyala le 15 Fév 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 commentaires
Igor Gayday
Igor Gayday le 16 Fév 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 le 18 Fév 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by