| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
After you install Notebook, but before you begin using it, you must specify that Word can use the Notebook macros, and then configure Notebook. (Notebook is installed as part of the MATLAB installation process on Microsoft Windows platforms. For more information, see the MATLAB installation documentation for your platform.)
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 starting 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 Notebook, but still maintain a high security level for other macros you use in Word.
In Word 2007, follow the Word help instructions in the topic entitled "Enable or disable macros in Office documents."
To configure Notebook:
Type notebook in the MATLAB Command Window.
MATLAB opens a dialog box that indicates Notebook has not been configured and asks if you want to configure it now.
Click Yes.
MATLAB configures Notebook 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 Warning: MATLAB is now an automation server
When MATLAB configures Notebook, it accesses the Microsoft Windows system registry to locate Microsoft Word and the Word templates folder, and to identify the version of Word. MATLAB then copies Notebook's m-book.dot template to the Word templates folder. MATLAB Notebook supports Word versions 2002, 2003, and 2007.
If you have previously configured Notebook, typing notebook in the MATLAB Command Window, starts Microsoft Word and creates a new M-book. 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 configure notebook by typing:
notebook ('-setup')
![]() | Printing and Formatting an M-Book | Notebook Feature Reference | ![]() |

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