MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by mimi khishe
on 22 Sep 2012

in using curve fitting toolbox, after fitting data show this error "Fit could not be computed due to error:

Too many input arguments." what can i do for solving this problem?

*No products are associated with this question.*

Answer by Jan Simon
on 23 Sep 2012

Edited by Jan Simon
on 23 Sep 2012

Obviously "too many input arguments" means, that you have defined too much input arguments. So it is worth to inspect the number of input arguments and check, if there are too many of them.

Sorry for mentioning the barely obvious.

## 3 Comments

## Azzi Abdelmalek (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/48822#comment_100847

post your code

## TAB (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/48822#comment_100852

See

http://www.mathworks.com/matlabcentral/answers/6200/

## bym (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/48822#comment_100856

I am resisting the temptation to answer the question 'Walter can!'