Re: ??? one or more output arguments not assigned...
- From: Cliff <boiki_2002@xxxxxxxxx>
- Date: Thu, 26 Jan 2006 07:51:23 -0500
Thanks to you all for your help.I realised I was getting the error
because of using a different variable inside my function.The function
declaration was
function under_sampled = somefunction(x,y,z);
but inside the function i used under_sample not under_sampled.I l be
careful with my variables next time.
Thanks
Jeroen wrote:
>
>
> Clif wrote:
>> I was running a function and aftter execution I get the
following
>> message;
>>
>> ??? One or more output arguments not assigned during call to
>> 'E:\ELEM023 labs\QMUL_undersample.m (QMUL_undersample)'.
>>
>> My function takes in only one argument.What is the meaning of
the
>> message?
>>
>> Thanks
>
> This is error occurs if you have:
>
> y=myfunc(a)
>
> and there's no line 'y=whatever;' in the function. So the output
> argument is not assigned a value. Check your code.
>
> Jeroen
>
.
- References:
- ??? one or more output arguments not assigned...
- From: Clif
- Re: ??? one or more output arguments not assigned...
- From: Jeroen
- ??? one or more output arguments not assigned...
- Prev by Date: interp2 -> 'polynomal' method?
- Next by Date: Re: Embedding FLEXlm in MEX files
- Previous by thread: Re: ??? one or more output arguments not assigned...
- Next by thread: Single point scatter curve
- Index(es):
Relevant Pages
|