Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Font cmss10 is not supported in Matlab R2011b

Subject: Font cmss10 is not supported in Matlab R2011b

From: Claudio

Date: 9 Nov, 2011 10:18:14

Message: 1 of 3

Hi,

In version 2010b (in Windows XP) I used to use this definition for my texts and labels:
xlabel('\textsf{Speed [m/s]}', 'interpreter','latex');

Since the installation of 2011b I get the following warning:
"Warning: Font cmss10 is not supported"

The font still appears as sans serif, but it's not cmss10.

I found that I can use the Tex interpreter:
xlabel('\fontname{Calibri}Speed [m/s]', 'interpreter','tex');
But in this case the following (which I used in 2010b) does not work:
xlabel('\textsf{$$\sqrt{\hbox {Speed [m/s]}}$$}', 'interpreter','tex');

Any ideas?
Claudio

Subject: Font cmss10 is not supported in Matlab R2011b

From: Claudio

Date: 29 Nov, 2011 08:32:09

Message: 2 of 3

Update:
It turns out that this "Font cmss10 is not supported" error is a Matlab bug. They are working to fix this!




"Claudio" wrote in message <j9dk16$quc$1@newscl01ah.mathworks.com>...
> Hi,
>
> In version 2010b (in Windows XP) I used to use this definition for my texts and labels:
> xlabel('\textsf{Speed [m/s]}', 'interpreter','latex');
>
> Since the installation of 2011b I get the following warning:
> "Warning: Font cmss10 is not supported"
>
> The font still appears as sans serif, but it's not cmss10.
>
> I found that I can use the Tex interpreter:
> xlabel('\fontname{Calibri}Speed [m/s]', 'interpreter','tex');
> But in this case the following (which I used in 2010b) does not work:
> xlabel('\textsf{$$\sqrt{\hbox {Speed [m/s]}}$$}', 'interpreter','tex');
>
> Any ideas?
> Claudio

Subject: Font cmss10 is not supported in Matlab R2011b

From: Ron Lu

Date: 3 Jan, 2014 17:15:08

Message: 3 of 3

How come I still have this warning with 2012b if they were working on it?

"Claudio" wrote in message <jb25a9$io8$1@newscl01ah.mathworks.com>...
> Update:
> It turns out that this "Font cmss10 is not supported" error is a Matlab bug. They are working to fix this!
>
>
>
>
> "Claudio" wrote in message <j9dk16$quc$1@newscl01ah.mathworks.com>...
> > Hi,
> >
> > In version 2010b (in Windows XP) I used to use this definition for my texts and labels:
> > xlabel('\textsf{Speed [m/s]}', 'interpreter','latex');
> >
> > Since the installation of 2011b I get the following warning:
> > "Warning: Font cmss10 is not supported"
> >
> > The font still appears as sans serif, but it's not cmss10.
> >
> > I found that I can use the Tex interpreter:
> > xlabel('\fontname{Calibri}Speed [m/s]', 'interpreter','tex');
> > But in this case the following (which I used in 2010b) does not work:
> > xlabel('\textsf{$$\sqrt{\hbox {Speed [m/s]}}$$}', 'interpreter','tex');
> >
> > Any ideas?
> > Claudio

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us