Error when fsolve in optimization toolbox calls optimget in 2018b
조회 수: 2 (최근 30일)
이전 댓글 표시
I recently upgraded my Matlab and I had to run an old code after a long time and I am getting an error in fsolve for optimget having too many inputs. I am having a hard time believing that it is an error in my code on how it calls fsolve, considering that it is crashing for optimget within the fsolve code having too many input arguments. I had a similar issue when another code used fminunc. I am sure if I tweak this line in fsolve, I might be able to make it work. But I am afraid that this might have an unintended impact on some other code that uses fsolve.
Please help
Thanks
Rajesh
![MATLAB R2018b.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220770/MATLAB%20R2018b.png)
![MatlabError.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220771/MatlabError.png)
댓글 수: 2
채택된 답변
Matt J
2019년 5월 23일
So do I have to remove the path for the other tool altogether to make it work this tool?
Yes, or rename it.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!