docview
View or perform operations on Word document
Syntax
Description
docview(
opens and displays the
specified file in Microsoft® Word or an editor compatible with Word, such as OpenOffice. Word or an
editor compatible with Word must be installed.filename
)
Opening a Microsoft Word document on a Linux® or Macintosh platform calls the soffice
command. To use the
soffice
command on a Linux machine, you must install Apache® OpenOffice® or LibreOffice®. On Macintosh, you must install Apache OpenOffice in the /Applications
folder.
docview(
specifies one or more operations to perform in Word. The operations require
Microsoft Word on a Windows® platform.filename
,operation1,...,operationN
)
[
also returns success or failure and, if appropriate, an error message.status
,message
]
= docview(filename
,operation1,...,operationN
)
Examples
Input Arguments
Output Arguments
Limitations
docview
is not supported in MATLAB Online.docview
is not supported in a MATLAB web app.docview
is not compatible withparfor
.
Version History
Introduced before R2006a