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

5 Ansichten (letzte 30 Tage)
Rony
Rony am 23 Apr. 2016
Kommentiert: Rony am 27 Apr. 2016
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.

Antworten (2)

Rony
Rony am 25 Apr. 2016
Any help over here is highly appreciated :)

Walter Roberson
Walter Roberson am 25 Apr. 2016
applescript to drive Excel's Save to PDF ?
  3 Kommentare
Walter Roberson
Walter Roberson am 25 Apr. 2016
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 am 27 Apr. 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?

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by