Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

notebook

Open MATLAB Notebook in Microsoft Word software (on Microsoft Windows platforms)

Syntax

notebook
notebook('filename')
notebook('-setup')

Description

notebook starts Microsoft® Word software and creates a new MATLAB® Notebook titled Document 1.

    Note:   The notebook command is available only on Windows® systems that have a 32–bit version of Microsoft Word installed. The notebook command is not available for 64–bit versions of Microsoft Word.

notebook('filename') starts Microsoft Word and opens the notebook filename, where filename is either in the MATLAB current folder or is a full path. If filename does not exist, MATLAB creates a new notebook titled filename. If the file name extension is not specified, MATLAB assumes .doc.

notebook('-setup') runs an interactive setup function for MATLAB Notebook. It copies the notebook template, m-book.dot, to the Microsoft Word template folder, whose location MATLAB automatically determines from the Windows system registry. Upon completion, MATLAB displays a message indicating whether or not the setup was successful.

Introduced before R2006a

Was this topic helpful?