MATLAB: Does MATLAB 7.0 (R14) support the \newline LaTeX tag

interpreterlatexMATLABnewlinetext;

The following code does not correctly interpret the \newline tag in MATLAB 7.0 (R14) :
text(.5,.5,' a \newline b','interpreter','Latex');

Best Answer

We have verified that there is a bug in MATLAB 7.0 (R14) in the way that it handles the \newline LaTeX tag.
To work around this issue, embed the LaTeX expression in a \vbox block as in the following example:
text(.5,.5,'\vbox{\noindent a \newline b}','interpreter','Latex');