You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This m-file is a modification of the 'save2word'. It's an example of how to automatically create MS Word documents from MATLAB with figures, tables, headers and text.
The different basic functionalities to add text with different style and to add figures are broken into sub-functions that can be used in a simple way.
Cite As
Andreas Karlsson (2026). WriteToWordFromMatlab (https://ch.mathworks.com/matlabcentral/fileexchange/9112-writetowordfrommatlab), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: saveppt, save2word
Inspired: Matlab to MSWord function library, wordreport
General Information
- Version 1.3.0.0 (15 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.3.0.0 | Changed calls to color-method into colorIndex to support MS-Word 2013. Thanks Martin van de Ven! |
||
| 1.0.0.0 | Added BSD license upon request from Mathworks
Also a new section with hints for the eager users. |
