28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Programming in MATLAB<br />

“M-File Functions and Scripts”<br />

“Evaluation of Expressions and Functions”<br />

“Timer Functions”<br />

“Variables and Functions in Memory”<br />

“Control Flow”<br />

“Function Handles”<br />

“Object-Oriented Programming”<br />

“Error Handling”<br />

“MEX Programming”<br />

M-File Functions and Scripts<br />

( ) Pass function arguments<br />

% Insert comment line into code<br />

... Continue statement to next line<br />

depfun List dependent functions of M-file or P-file<br />

depdir List dependent directories of M-file or P-file<br />

echo Echo M-files during execution<br />

function Function M-files<br />

input Request user input<br />

inputname Input argument name<br />

mfilename Name of currently running M-file<br />

namelengthmax Return maximum identifier length<br />

nargin Number of function input arguments<br />

nargout Number of function output arguments<br />

nargchk Check number of input arguments<br />

nargoutchk Validate number of output arguments<br />

pcode Create preparsed pseudocode file (P-file)<br />

script Describes script M-file<br />

varargin Accept variable number of arguments<br />

varargout Return variable number of arguments<br />

Programming and Data Types<br />

1-33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!