example for nargin nargout and nargcheck

i want to use nargin nargout and narg check in my functions but i do'nt know what ? please use nargin and nargout and nargcheck in one function for me

Answers (1)

doc nargin
doc nargout
doc nargchk
the documentation from matlab gives examples.

Categories

Find more on Argument Definitions in Help Center and File Exchange

Asked:

on 8 Jul 2014

Answered:

on 8 Jul 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!