User-defined Functions (5/28) Scripts The function statement marks the beginning of a function The name of the function must be the same as the name of the m-file The lookfor command searches functions according to the HI comment line The help command displays the comment lines from the H1 line until the first non-comment line 细月济大学 TONGJI UNIVERSITY The function statement marks the beginning of a function The name of the function must be the same as the name of the m-file The lookfor command searches functions according to the H1 comment line The help command displays the comment lines from the H1 line until the first non-comment line User-defined Functions (5/28) Scripts