This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

File Operations

Interact with system files and folders, set paths

MuPAD Environment Variables

FILEPATHPathname of a file that is currently loaded
NOTEBOOKFILENotebook file name
WRITEPATHSearch path for the command ‘ Write ’ et al.
READPATHSearch path for the command ‘ Read ’

MuPAD Functions

fcloseClose a file
finputRead objects from file
fnameGet a file's name
fopenOpen file
fprintWrite data to file
freadRead and execute file
ftextinputRead text file
pathnameCreate a platform dependent path name
protocolCreate a protocol of a session
readSearch, read, and execute file
readbytesRead binary data from a file
writebytesWrite binary data to a file
writeWrite values of variables into file
Pref::verboseReadShows reading of files


Set Engine Preferences

Global settings in MuPAD® serve for specifying a particular engine you want to run, using additional libraries, startup commands and options.

Was this topic helpful?