MATLAB: Am I unable to print to a postscript file using a TIFF preview in MATLAB on a PC

depsdeps2depscdepsc2errorMATLABmissingpathpcpostscriptpreviewprinttiffunc

Why am I unable to print to a postscript file using a TIFF preview in MATLAB on a PC?
I try to print my figure using the following code:
figure
plot(1:10)
print -deps -tiff myfig.eps
After executing the above commands, the MATLAB command prompt is returned, but myfig.eps was not created.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This problem is seen when trying to print to EPS-files with a TIFF preview from a UNC path. The DOS command is called from within PRINT when a TIFF preview is specified. The DOS command cannot be executed from a UNC path.
This problem has been reported to our development staff for further investigation.
As a workaround, please map the UNC path or print from a local drive.