Text/strings not working in Matlab 2018a
2 次查看(过去 30 天)
显示 更早的评论
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…
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171749/image.png)
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
2018-4-23
Have you checked which font is being used, or tried explicitly setting one you know works in other places?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!