html2docx

Convert files from Matlab with Microsoft Word to another format. For example HTML to docx or PDF.
10 Downloads
Updated 5 Apr 2024

View License

Effortlessly convert HTML (or other) files to DOC, DOCX, TXT, PDF, or RTF formats using the provided functionality. This involves initiating Microsoft Word via ActiveX, opening the HTML file as a new document, saving it to disk, and then gracefully closing Word.
Generating an HTML file with text and images from Matlab requires no additional toolboxes, thanks to resources like htmlreports from the file exchange. The "html2docx.m" function efficiently converts the HTML file to a PDF or DOCX, streamlining the process.

Cite As

Dirk-Jan Kroon (2024). html2docx (https://www.mathworks.com/matlabcentral/fileexchange/162706-html2docx), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.01

text update

1.0.0