The Matlab Interface and m-files

Previous commands may be recalled, and then edited using up arrow

If you want to create a function, it should be stored in its own file called an m-file somewhere on your Matlab path. A function named fncname should be stored in the file fncname.m

A command like path(path,'Pacific:tmp') will append the folder tmp on the Mac volume Pacific to your Matlab path. Just typing path will show your current path.

Last Update: September 25, 2000

[Mathlab Home | Math]