Error while using curve fitting toolbox

4 次查看(过去 30 天)
I've been trying to use the curve fitting toolbox to do a pretty simple fit. However, after I create a data set, choose the type of fit, and click apply, I get the error:
"Fit could not be computed due to error:
Too many output arguments."
This happens no matter what data I use or what fit I use; I've even tried exactly following the demos provided in help, loading census and fitting a curve to that, with the same result.
I'm using Version 7.8.0.347, R2009a. I checked for updates and it claimed there were none.
Does anyone know what might be causing this?
Thank you so much!
  8 个评论
Sean de Wolski
Sean de Wolski 2012-7-2
This seems more like a path issue with something important being shadowed.

请先登录,再进行评论。

采纳的回答

Sean de Wolski
Sean de Wolski 2012-7-2
Do you by any chance have another function shadowing fit?
which -all fit
If you run:
dbstop if error
at the command line, and then cause the error. Where does the debugger stop. What was it trying to do when it errored?
  2 个评论
Claire
Claire 2012-7-2
It seems I did have another function shadowing fit. That fixed the problem.
Thank you so much for all your help! I really appreciate it.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by