keeping show me Too many input arguments with fit command
Show older comments
I got data from ga with same length however it is keeping show me Too many input arguments when I try to plot them using fit command I have tried to fit the data using my friend PC and it works. Then I uninstall Matlab from laptop and reinstall it and it still shows the same message.
if anyone has face the same issue, if yes can you help me?
2 Comments
Walter Roberson
on 10 Jun 2020
What shows up for
which -all fit
Also, do you have the Curve Fitting Toolbox installed and licensed?
Osama Brinji
on 10 Jun 2020
Answers (1)
Walter Roberson
on 10 Jun 2020
0 votes
You need to remove C:\Users\osbri\Documents\UQ\optimization from your MATLAB Path, or move it to the bottom of the path, or rename it to something else, as it is interfering with toolbox\curvefit\curvefit\fit.m being invoked when you ask to fit()
1 Comment
Osama Brinji
on 10 Jun 2020
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!