typefilename
type filename lists the specified file. Use pathnames and drive designators in the usual way for your operating system.
The type command differs from the type commands provided by operating systems in an important way: if a filename extension is not given, .m is added by default. type also checks the directories specified in MATLAB's search path. This makes it convenient for the most frequent use of type, which is to list the contents of M-files on the screen.
type foo.bar lists the file foo.bar.
type foo lists the file foo.m.
!,cd,dbtype,delete,dir,path,what,who
(c) Copyright 1994 by The MathWorks, Inc.