Main Content

notebook

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

    notebook has been removed. To create a document that combines code, formatted text, and output, use the Live Editor instead.

    Description

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

    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 MATLAB Notebook filename. If filename does not exist, MATLAB creates a new Notebook titled filename. If an extension is not specified for filename, then a .doc extension is used.

    notebook('-setup') runs an interactive setup function for MATLAB Notebook. The interactive setup function copies the notebook template, m-book.dot, to the Microsoft Word template folder. Upon completion, MATLAB displays a message indicating whether or not the setup was successful.

    Input Arguments

    collapse all

    Notebook file name, specified as a character vector. filename can include a relative path, but the relative path must be in the current folder. Otherwise, filename must include a full path.

    Version History

    Introduced before R2006a

    expand all

    R2018a: Removed

    notebook has been removed. To create a document that combines code, formatted text, and output, use the Live Editor instead.