MATLAB: How to combine sprintf, fractions, greek characters, and xlabel

axis labelslatexsprintf

What is wrong with this? Each piece prints individually under the x-axis, but combining the three statements is not successful.
xlabel([sprintf('Nondimensional time %c = ',964),'$\frac{t_{fz}}{t_{scale}}$', ...
sprintf('\n$t_{scale}$ = %.2g s',tscale)],'interpreter','latex');

Best Answer

When you use latex interpreter, you cannot use any character position past 255.
I suggest using \tau