[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error calling function having more than one argument
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Error calling function having more than one argument |
Date: |
Mon, 25 Oct 2010 12:09:26 -0500 |
On 25 October 2010 11:52, Neil Ghosh <address@hidden> wrote:
> Hi I have following code in a file
> while running it says
>
> error: `b' undefined near line 1 column 15
So define b...
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.