Development Environment    

Creating an M-Book

This section describes how to:

Creating an M-Book from MATLAB

To create a new M-book from within MATLAB, type

at the prompt. If you are running Notebook for the first time, you may need to configure it. See Configuring Notebook for more information.

Notebook starts Microsoft Word on your system and creates a new M-book, called Document1. Notebook adds the Notebook menu to the Word menu bar. You use this menu, illustrated below, to access Notebook commands.

Creating an M-Book While Running Notebook

With Notebook running, you can also create a new M-book by selecting New M-book from the Word File menu.

Opening an Existing M-Book

You can also use the notebook command to open an existing M-book

where filename is the M-book you want to open, or you can simply double-click on an M-book file.

When you double-click on an M-book, Microsoft Word opens the M-book and starts MATLAB, if it is not already running. Notebook adds the Notebook menu to the Word menu bar.

Converting a Word Document to an M-Book

To convert a Word document to an M-book, follow these steps:

  1. Create a new M-book.
  2. From the Insert menu, select the File command.
  3. Select the file you want to convert.
  4. Click on the OK button.

 Notebook Basics Entering MATLAB Commands in an M-Book