|
From: | Neil Ghosh |
Subject: | Re: Error calling function having more than one argument |
Date: | Mon, 25 Oct 2010 22:59:51 +0530 |
On 25 October 2010 11:52, Neil Ghosh <address@hidden> wrote:So define b...
> Hi I have following code in a file
> while running it says
>
> error: `b' undefined near line 1 column 15
I don't understand if testData is actually being called inside test.m.
It looks like the first line in test.m is a function call to testData
with undefined parameters.
Generally, you should define one function per m-script and the
function's name should match the m-script's filename. These can be
relaxed, but I think it's better if you obey these restrictions at
first.
HTH,
- Jordi G. H.
[Prev in Thread] | Current Thread | [Next in Thread] |