Open MATLAB Notebook in Microsoft Word software (on Microsoft Windows platforms)
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.