Effacer les filtres
Effacer les filtres

Text/strings not working in Matlab 2018a

2 vues (au cours des 30 derniers jours)
Petter Stefansson
Petter Stefansson le 2 Avr 2018
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 commentaire
Christopher Creutzig
Christopher Creutzig le 23 Avr 2018
Have you checked which font is being used, or tried explicitly setting one you know works in other places?

Connectez-vous pour commenter.

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by