| Contents | Index |
After you install MATLAB Notebook software, but before you begin using it, specify that Word can use the notebook macros, and then configure notebook. (The notebook software installs as part of the MATLAB installation process on Microsoft Windows platforms. For more information, see the MATLAB installation documentation.)
To specify that Word can use the notebook macros:
In Word 2002, and 2003 do either of the following:
Set the macro security level to medium: in Word, select Tools > Macros > Security, and in the resulting dialog box, choose Medium.
After running notebook, when Word first opens, a security warning dialog box appears. In the dialog box, select Always trust macros from this source. This allows you to use MATLAB Notebook features, but still maintain a high security level for other macros you use in Word.
In Word 2007 and later releases, follow the Word help instructions in the topic entitled "Enable or disable macros in Office documents."
To configure MATLAB Notebook software, type the following in the MATLAB Command Window:
notebook -setup
MATLAB configures MATLAB Notebook software and issues the following messages in the Command Window:
Welcome to the utility for setting up the MATLAB Notebook for interfacing MATLAB to Microsoft Word Setup complete
When MATLAB configures the software, it:
Accesses the Microsoft Windows system registry to locate Microsoft Word and the Word templates folder. It also identifies the version of Word.
Copies the m-book.dot template to the Word templates folder
The MATLAB Notebook software supports Word versions 2002, 2003, 2007, and 2010.
If you have previously configured the software, typing notebook in the MATLAB Command Window, starts Microsoft Word and creates a MATLAB Notebook. The Command Window displays the message Warning: MATLAB is now an automation server.
If you suspect a problem with the current configuration, you can explicitly reconfigure the software by typing:
notebook -setup
![]() | About MATLAB Notebooks | Defining MATLAB Commands as Input Cells for a MATLAB Notebook | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |