From: Glauce De Souza on
Hi,
I have been trying to run the generated M-file in order to reproduce the original Curve Fitting session, however I have received the following message:

"Input argument "SR_Rheo_SSF_SR_CWMD4" is undefined.

SR_Rheo_SSF_SR_CWMD4 is one of my cariables of the data set and it is available on the workspace.

other details: my function declaration is
WMD4 (SR_Rheo_SSF_SR_CWMD4,VI_Rheo_SSF_SR_CWMD4) and according to the help http://www.mathworks.com/access/helpdesk/help/toolbox/curvefit/bqxoya6.html#bqxu2kj
this is all that I have to declare in other to have the data set and fit plotted. However, the declaration print the data, but the error message came before the fit was plotted.

Thanks in advance

Glauce
From: Glauce De Souza on
Hi, Just a quick amendment

SR_Rheo_SSF_SR_CWMD4 is one of my variables (not cariables) of the data set and it is available on the workspace.



"Glauce De Souza" <glaucefsouza(a)hotmail.com> wrote in message <hmhheh$o4l$1(a)fred.mathworks.com>...
> Hi,
> I have been trying to run the generated M-file in order to reproduce the original Curve Fitting session, however I have received the following message:
>
> "Input argument "SR_Rheo_SSF_SR_CWMD4" is undefined.
>
> SR_Rheo_SSF_SR_CWMD4 is one of my cariables of the data set and it is available on the workspace.
>
> other details: my function declaration is
> WMD4 (SR_Rheo_SSF_SR_CWMD4,VI_Rheo_SSF_SR_CWMD4) and according to the help http://www.mathworks.com/access/helpdesk/help/toolbox/curvefit/bqxoya6.html#bqxu2kj
> this is all that I have to declare in other to have the data set and fit plotted. However, the declaration print the data, but the error message came before the fit was plotted.
>
> Thanks in advance
>
> Glauce
From: Wayne King on
"Glauce De Souza" <glaucefsouza(a)hotmail.com> wrote in message <hmhheh$o4l$1(a)fred.mathworks.com>...
> Hi,
> I have been trying to run the generated M-file in order to reproduce the original Curve Fitting session, however I have received the following message:
>
> "Input argument "SR_Rheo_SSF_SR_CWMD4" is undefined.
>
> SR_Rheo_SSF_SR_CWMD4 is one of my cariables of the data set and it is available on the workspace.
>
> other details: my function declaration is
> WMD4 (SR_Rheo_SSF_SR_CWMD4,VI_Rheo_SSF_SR_CWMD4) and according to the help http://www.mathworks.com/access/helpdesk/help/toolbox/curvefit/bqxoya6.html#bqxu2kj
> this is all that I have to declare in other to have the data set and fit plotted. However, the declaration print the data, but the error message came before the fit was plotted.
>
> Thanks in advance
>
> Glauce

Glauce, are you absolutely sure the variable is in the workspace and it is named the same thing as you are inputting? Including capitalization:
if you enter
>>whos SR_Rheo_SSF_SR_CWMD4

what is returned?

Did you rename the generate MATLAB file from its default createFit() to WMD4()?
Wayne
From: Glauce De Souza on
Hi Wayne,

Yes, they are in the workspace.

whos SR_Rheo_SSF_SR_CWMD4
Name Size Bytes Class Attributes

SR_Rheo_SSF_SR_CWMD4 9x1 72 double


Yes, my M-file's name is WMD4 and so is the function declaration, WMD4(...).

Thanks

Glauce


"Wayne King" <wmkingty(a)gmail.com> wrote in message <hmhnje$2q8$1(a)fred.mathworks.com>...
> "Glauce De Souza" <glaucefsouza(a)hotmail.com> wrote in message <hmhheh$o4l$1(a)fred.mathworks.com>...
> > Hi,
> > I have been trying to run the generated M-file in order to reproduce the original Curve Fitting session, however I have received the following message:
> >
> > "Input argument "SR_Rheo_SSF_SR_CWMD4" is undefined.
> >
> > SR_Rheo_SSF_SR_CWMD4 is one of my cariables of the data set and it is available on the workspace.
> >
> > other details: my function declaration is
> > WMD4 (SR_Rheo_SSF_SR_CWMD4,VI_Rheo_SSF_SR_CWMD4) and according to the help http://www.mathworks.com/access/helpdesk/help/toolbox/curvefit/bqxoya6.html#bqxu2kj
> > this is all that I have to declare in other to have the data set and fit plotted. However, the declaration print the data, but the error message came before the fit was plotted.
> >
> > Thanks in advance
> >
> > Glauce
>
> Glauce, are you absolutely sure the variable is in the workspace and it is named the same thing as you are inputting? Including capitalization:
> if you enter
> >>whos SR_Rheo_SSF_SR_CWMD4
>
> what is returned?
>
> Did you rename the generate MATLAB file from its default createFit() to WMD4()?
> Wayne