Main Content

mlreportgen.utils.WordApp Class

Namespace: mlreportgen.utils

Wrap Microsoft Word application

Description

The mlreportgen.utils.WordApp class is a handle class.

Creation

mlreportgen.utils.WordApp wraps a Word application as a .NET object. Only one Word application object can be active to use this utility. To obtain the active Word application object, use the instance method.

Methods

expand all

Examples

Find and Close Word Application Instance

wdapp = mlreportgen.utils.WordApp.instance();
close(wdapp)

Limitations

  • mlreportgen.utils.WordApp is not supported in a MATLAB® web app.

Version History

Introduced in R2018b