MATLAB Answers

Matlab encoding issue?

3 views (last 30 days)
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 Comments
Guillaume
Guillaume on 1 Apr 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.

Sign in to comment.

Accepted Answer

Philip Borghesani
Philip Borghesani on 1 Apr 2019
Could you have a corrupted font file? What happens if you change the default fonts?
  1 Comment
Sato Koyama
Sato Koyama on 3 Apr 2019
Okay, I got it fixed. I set the font back to default (monospace) and it displays correctly.
I didn't think that inconsolata would create this issue (maybe it is corrupted. im not sure) but oh well. thank you.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!