Control MS Word from matlab

A set of functions that can control word from matlab by activex.

You are now following this Submission

You can open word documents, add text, newline, pagebreaks, alter color, fonts, add pictures, tables and captions, etc. This project is not finished, but I don`t have much time anymore to work on it. I`m posting it here in case someone finds it useful and maybe also want to try to finish the project. The main job is done, but the functions needs to be tested properly, and some functionality is missing.

Cite As

Ivar Eskerud Smith (2026). Control MS Word from matlab (https://au.mathworks.com/matlabcentral/fileexchange/28558-control-ms-word-from-matlab), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Matlab to MSWord function library

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.0.0

Seems something might have gone wrong last time I tried to update. This version should include some new functions, among other saveAs.

1.3.0.0

Added some functions: saveAs, getCaptions, goToEndOfDocument, numberOfLines, goToNextLine, goToPreviousLine, selectNextLine, selectPreviousLine, copyFigureCaptionsToEnd and copyTablesAndTableCaptionsToEnd

1.2.0.0

Removed wrong tag

1.1.0.0

Renamed and improved some functions, added a few new, like insertTOC, insertTable, scalePicture, clear, copy, paste

1.0.0.0