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

조회 수: 5 (최근 30일)
Rony
Rony 2016년 4월 23일
댓글: Rony 2016년 4월 27일
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.

답변 (2개)

Rony
Rony 2016년 4월 25일
Any help over here is highly appreciated :)

Walter Roberson
Walter Roberson 2016년 4월 25일
applescript to drive Excel's Save to PDF ?
  댓글 수: 3
Walter Roberson
Walter Roberson 2016년 4월 25일
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 2016년 4월 27일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by