I am using Octave for the first time today as a substitute to Matlab to try and call it from my Python script instead of using the matlab.engine. From what I've found, these two are compatible so running Matlab files in Octave is not complicated. However, one of my Matlab scripts contains the function "quadprog" which when invoked in my Octave command prompt yields the following error:
error: Invalid call to __qp__. Correct usage is:
-- [X, LAMBDA, INFO, ITER] = __qp__ (X0, H, Q, AEQ, BEQ, AIN, BIN,
MAXIT, RTOL)
error: called from
print_usage at line 98 column 5
quadprog at line 352 column 36
FRPY at line 606 column 14
RPdriver at line 388 column 21
my_VF_electrical_equivalent_circuit at line 119 column 23
hi at line 60 column 49
How can I solve this problem?
Also, I loaded the optim package in my Octave script.. to not avail, and when checking if it is already installed using this command pkg list
, it is followed by an asterisk (as it happens optim*
) what is this supposed to mean?
Regards.