Reputation: 9
I have a matlab function which uses fsolve
built-in function.
It works well on matlab side.
When I try to run that matlab function in python using Oct2py
, I face this error.
Please help me with this error.
Thanks in advance.
Upvotes: -1
Views: 73
Reputation: 22245
Based on the code you provided, you are calling fsolve with 6 input arguments instead of the expected 3.
You say your code 'works' in matlab, but from the equivalent matlab documentation I don't see matlab being compatible with more than 3 arguments either. It is possible that your extra arguments simply get ignored in matlab. What are Xp
, q
, and in_param
supposed to do?
Upvotes: 0