How to convert .xls file (Microsoft excel) to pdf using matlab
11 次查看(过去 30 天)
显示 更早的评论
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 ??
0 个评论
回答(1 个)
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 个评论
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 Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!