Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Syntax checking
Date: Sun, 3 May 2009 20:23:02 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 1
Message-ID: <gtkuf6$mqu$1@fred.mathworks.com>
References: <gtknv1$mr4$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1241382182 23390 172.30.248.37 (3 May 2009 20:23:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 3 May 2009 20:23:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: news.mathworks.com comp.soft-sys.matlab:537069


The closest function that I know of is nargchk.  But I don't think it fulfills all your requirements.  I always write my own input checking which goes at the head of the function, it is not to hard to do this.