How to save an excel file as PDF through Matlab on Mac?

Hello,
I am a Mac user, I want to use matlab to write data in excel and then I want to save the excel file as PDF file format. I was able to do this on Windows using actxserver, but unfortunately this function doesn't work for Mac. Does anyone have a solution for saving an excel file as PDF file format?
Thank you in advance.

Respuestas (2)

Rony
Rony el 25 de Abr. de 2016
Any help over here is highly appreciated :)
Walter Roberson
Walter Roberson el 25 de Abr. de 2016
applescript to drive Excel's Save to PDF ?

3 comentarios

Rony
Rony el 25 de Abr. de 2016
I want to write a script in matlab to automatically save excel file as pdf file format. I know how to do this on windows, but I am trying to do this now on Mac and I didn't find any solution so far
You can use MATLAB to invoke Applescript to tell Excel to do something. See http://www.mathworks.com/matlabcentral/answers/114020-running-applescript-from-matlab
Rony
Rony el 27 de Abr. de 2016
Thanks Walter, I read your answer there and I understand that we need to use the function "System", but do you have any idea what should be the command in System to save the file as pdf?

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 23 de Abr. de 2016

Comentada:

el 27 de Abr. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by