WriteToWordFromMatlab
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 (2024). WriteToWordFromMatlab (https://www.mathworks.com/matlabcentral/fileexchange/9112-writetowordfrommatlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: saveppt, save2word
Inspired: Matlab to MSWord function library, wordreport
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.
Version | Published | Release Notes | |
---|---|---|---|
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. |