| MATLAB Function Reference | ![]() |
Graphical Interface
As an alternative to the dbtype function, you can see an M-file with line numbers by opening it in the Editor/Debugger.
Syntax
Description
dbtype function
displays the contents of the specified M-file function with line numbers preceding each line. function must be the name of an M-file function or a MATLABPATH relative partial pathname.
dbtype function start:end
displays the portion of the file specified by a range of line numbers.
You cannot use dbtype for built-in functions.
Examples
To see only the input and output arguments for a function, that is, the first line of the M-file, type
See Also
dbclear, dbcont, dbdown, dbquit, dbstack, dbstatus, dbstep, dbstop, dbup, partialpath
| dbstop | dbup | ![]() |