필터 지우기
필터 지우기

How to convert .xls file (Microsoft excel) to pdf using matlab

조회 수: 7 (최근 30일)
Mike
Mike 2012년 7월 10일
Hi, In my matlab application, I'm creating new excel file. I would like to convert this file to pdf format using matlab. Can I ??

답변 (1개)

Julian
Julian 2012년 7월 10일
You could publish to PDF direct from MATLAB. Also, if you have the possibility to Print to PDF on your system and printing from Excel to PDF gives the format you need, you could use actxserver in MATLAB to control the Excel print to PDF.
  댓글 수: 2
Mike
Mike 2012년 7월 10일
Can you help me with the properties of Excel.ActiveWorkbook.SaveAs funation. I tried: Excel.ActiveWorkbook.SaveAs(filenamexls,'PDF',[],[], 'False', 'False', 'xlNoChange', 'xlOtherSessionChanges','False',[],[],'False') but it didn't work...
Julian
Julian 2012년 7월 11일
Sorry, while I have used the SaveAs method in VBA, we still use Excel 2003 which does not natively support save to PDF. There are some tools that allow you to Print To PDF, which is another possibility.

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

카테고리

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