cftool "Not enough input arguments"
조회 수: 12 (최근 30일)
이전 댓글 표시
Hi,
I've been using MATLAB for quite a long time. However, in the new version (2019b) on Mac OSX, I'm facing an odd problem. I'm trying to use the cftool simply for fitting a gaussian function on a bell-shaped data (say x is my 1D array of independent variable, and y is another 1D array of the same size for the data). The fitting fails and an error message is displayed saying "Not enough input arguments". I also tried fitting other functions on the data and it seems that the problem is not limited to the gaussian fit and it similarly occurs for custom equation, exponential, Fourier, rational, power and sum of sines.
Nevertheless, the fitting on the same data is easily done by an old version on the same system (2016b). To resolve the issue I tried various things, but none worked.
I really appreciate any ideas on how to resolve this issue.
Best,
댓글 수: 1
Walter Roberson
2019년 9월 22일
I am not seeing that problem.
Experiment with
restoredefaultpath;
rehashtoolboxcache
and then see if it works. If it does work, then you have accidentally introduced something on your MATLAB path that is interfering with the fitting.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!