I use the following code to print a pdf file:
figure()plot([0 1])xlabel('Test')ylabel('Test')filename = 'Test.pdf';if exist(filename,'file') delete(filename)endprint('-PMicrosoft Print to PDF',filename)
The resulting file 'Test.pdf' cannot be opened by Adobe.
How do I fix this issue?
Best Answer