如何用Matlab LaTex解释器生成Unicode字符

如何用Matlab LaTex解释器生成Unicode字符,matlab,unicode,utf-8,latex,tex,Matlab,Unicode,Utf 8,Latex,Tex,我有下面一行代码 ylabel('Średnia wartość parametru $f_{max}$','Interpreter','latex'); 我想用它作为绘图的标签。不幸的是,我实际得到的是: Warning: Unable to interpret LaTeX string 如果像这样删除Unicode字符: ylabel('Srednia wartosc parametru $f_{max}$','Interpreter','latex'); 它工作没有问题 那么,我如何

我有下面一行代码

ylabel('Średnia wartość parametru $f_{max}$','Interpreter','latex');
我想用它作为绘图的标签。不幸的是,我实际得到的是:

Warning: Unable to interpret LaTeX string
如果像这样删除Unicode字符:

ylabel('Srednia wartosc parametru $f_{max}$','Interpreter','latex');
它工作没有问题

那么,我如何才能让Matlab打印这些不幸的字符呢?

用于这些字符:
\'S
\'S
,等等。不要忘记在字符串中重复引号:

ylabel('\''Srednia warto\''s\''c parametru $f_{max}$','Interpreter','latex')