| Contents | Index |
mphandle = mupad
mphandle = mupad(file)
mphandle = mupad creates a MuPAD notebook, and keeps a handle (pointer) to the notebook in the variable mphandle. You can use any variable name you like instead of mphandle.
mphandle = mupad(file) opens the MuPAD notebook or program file named file and keeps a handle (pointer) to the notebook or program file in the variable mphandle. You also can use the argument file#linktargetname to refer to the particular link target inside a notebook. In this case, the mupad function opens the MuPAD notebook or program file (file) and jumps to the beginning of the link target linktargetname. If there are multiple link targets with the name linktargetname, the mupad function uses the last linktargetname occurrence.
To start a new notebook and define a handle mphandle to the notebook, enter:
mphandle = mupad;
To open an existing notebook named notebook1.mn located in the current folder, and define a handle mphandle to the notebook, enter:
mphandle = mupad('notebook1.mn');To open a notebook and jump to a particular location, create a link target at that location inside a notebook and refer to it when opening a notebook. For example, if you have the Conclusions section in notebook1.mn, create a link target named conclusions and refer to it when opening the notebook. The mupad function opens notebook1.mn and scroll it to display the Conclusions section:
mphandle = mupad('notebook1.mn#conclusions');For information about creating link targets, see the Formatting and Exporting MuPAD Documents and Graphics section in the MuPAD Getting Started documentation.
getVar | mupadwelcome | openmn | openmu | setVar

See how symbolic computations can help you find analytical solutions to math and engineering problems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |