Text/strings not working in Matlab 2018a

조회 수: 2 (최근 30일)
Petter Stefansson
Petter Stefansson 2018년 4월 2일
댓글: Christopher Creutzig 2018년 4월 23일
I recently upgraded to Matlab 9.4.0.813654 (R2018a) from R2017a (where everything was working fine), and now whenever I plot things or sometimes when I form strings from variables the text doesn’t work at all.
Example:
plot(rand(100,1),DisplayName,TestText)
title(TestText)
Gives me a plot with an empty legend and no title…
I have installed the same Matlab version on 3 computers and I only have this problem on one of them.
Any ideas on what could be causing it and how to fix it?
  댓글 수: 1
Christopher Creutzig
Christopher Creutzig 2018년 4월 23일
Have you checked which font is being used, or tried explicitly setting one you know works in other places?

댓글을 달려면 로그인하십시오.

답변 (1개)

Rik
Rik 2018년 4월 2일
Maybe it would work if you replaced the curved accent
by a straight accent
'
  댓글 수: 6
Walter Roberson
Walter Roberson 2018년 4월 2일
What shows up for
which -all text
Petter Stefansson
Petter Stefansson 2018년 4월 2일
This shows up:
>> which -all text
built-in (P:\Matlab 2018a\toolbox\matlab\graph2d\text)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by