MATLAB: Are LaTeX interpreted strings corrupted in a figure saved as Enhanced Meta File in MATLAB 7.0 (R14) after I restart the computer

corruptedemffilefontsgarbledinvalidlatexMATLABmetarestartsymbols

A figure is generated using the following commands:
plot(1:10)
xlabel('$x_1$','Interpreter','Latex')
I saved this figure containing LaTeX interpreted strings as Enhanced Meta File (EMF) in MATLAB 7.0 (R14). However, when I open the EMF upon restarting my computer, the LaTeX interpreted characters are corrupted.

Best Answer

The LaTeX interpreter in MATLAB 7.0 (R14) uses a special font that MATLAB installs when you use your first LaTeX interpreted string. If you restart your computer, the links to those fonts are lost. Therefore, you need to install these fonts directly onto the Windows Operating System in order to resolve the issue. These fonts are located at:
$matlab/sys/fonts/type1/cm/
where $matlab is MATLAB's root directory as returned by the following command:
matlabroot
Copy these fonts to:
$Windows/Fonts
where $Windows is the Windows' root directory. Windows' root directory can be obtained by typing the following command at the system command prompt:
echo %SYSTEMROOT%
If you are using MATLAB 7.0.4 (R14SP2), also copy the fonts located in:
$matlab/sys/fonts/ttf/cm/
where $matlab is MATLAB's root directory as returned by the following command:
matlabroot