Matlab encoding issue?
Afficher commentaires plus anciens
Recently, Matlab R2018B has been outputting bolded things oddly.
It recognises the function (or the input), what it displays is weird.The following is an example of when I inputted help plot.
>>help plot
rnqv Linear plot. %supposed to read plot instead of rnqv.
rnqv(X,Y) plots vector Y versus vector X. If X or Y is a matrix,
then the vector is plotted versus the rows or columns of the matrix,
whichever line up. If X is a scalar and Y is a vector, disconnected
line objects are created and plotted as discrete points vertically at
X.
The bolded parts displayed shows rnqv but when highlighted, shows plot correctly. This is the same for other bolded text in the command window.
The same issue applies with the editor. Here is an example
%% Tiju ju vif Wqtluiqr 4
%supposed to read %% This is for Workshop 4
The bolded comments gets messed up and cannot be deciphered.
I'm guessing it's to do with the encoding and the bytes in a bolded character as I have seen this problem before in another language. However, I don't have a clue on how to fix this issue. Can anyone help on this?
7 commentaires
Walter Roberson
le 1 Avr 2019
Weird!
Which OS are you using? And please show us the output of opengl info
Sato Koyama
le 1 Avr 2019
Walter Roberson
le 1 Avr 2019
You could drive an NVIDIA driver update; I know there have been some already this year.
Stephen23
le 1 Avr 2019
Note that 'rnqv' is char('plot'+2)
Walter Roberson
le 1 Avr 2019
I saw that, but I noticed that the comment section about Workshop 4 was irregular in offset.
Sato Koyama
le 1 Avr 2019
Guillaume
le 1 Avr 2019
You may want to:
- uninstall any 3rd party toolbox and remove all
- remove all folders that are not subfolder of matlabroot from the path
in case, a third party tool is messing up matlab. If that fails, maybe reinstall matlab.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Entering Commands dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!