Save Word as Text
Version 1.1.0.1 (1.67 KB) by
Matthew Simoneau
Converts a Microsoft® Word document to a text file.
It uses the ActiveX® interface of Microsoft® Word to open a Word document and save it as a text file. Tweaking the code in this function can make it save as HTML or RTF instead.
Cite As
Matthew Simoneau (2026). Save Word as Text (https://www.mathworks.com/matlabcentral/fileexchange/2668-save-word-as-text), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats >
- MATLAB > External Language Interfaces > COM with MATLAB > Use COM Objects in MATLAB >
Find more on Standard File Formats in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
