ActiveX Word control base commands
Version 1.21.0.0 (28.6 KB) by
Stefan Braun
Base commands to control Word in Matlab
This is an example to learn how to control Microsoft Word in Matlab.
(tested on Microsoft Office 2007)
This example contains:
-define Font
-define Font Size
-define Page setup
-write Text
-color background
-highlight text
-underline text
-change format of text
-insert figures from Matlab as picture in Word
-insert picture from file
Cite As
Stefan Braun (2026). ActiveX Word control base commands (https://uk.mathworks.com/matlabcentral/fileexchange/56283-activex-word-control-base-commands), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on ActiveX in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Matlab to MSWord function library
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.