Convert a doc or docx file to pdf file.
You must specify the full path for both files.
It requires MS Office 2007 or above installed, with capacity for saving to PDF and XPS.
Example:
docFile = 'C:\worddoc.doc';
pdfFile = 'C:\pdfdoc.pdf';
[status,message] = doc2pdf(docFile,pdfFile);
Tested on Win8 (64 bits) with Office 2010 and Matlab R2012b.
引用格式
Daniel Pereira (2024). doc2pdf.m (https://www.mathworks.com/matlabcentral/fileexchange/47308-doc2pdf-m), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 MATLAB Report Generator 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!