Save Word as Text
Version 188.8.131.52 (1.67 KB) by Matthew Simoneau
Converts a Microsoft® Word document to a text file.
Updated 1 Sep 2016
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.
Matthew Simoneau (2023). 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 CompatibilityWindows macOS Linux
- 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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.