knitromatlab error: Undefined function 'knitromatlab' for input arguments of type 'double'

7 次查看(过去 30 天)
Hi all,
I am currently using knitromatlab. I have installed and checked the installation using [x fval] = ktrlink(@(x)cos(x),1). ktrlink returns x = 3.1416, fval = -1 indicating successful installation as defined within the knitro user manual.
Even though the installation is successful I keep getting the following error:
Undefined function 'knitromatlab' for input arguments of
type 'double'.
Error in Objective (line 152)
[x,fval] = knitromatlab(objfun,x0,A,b,Aeq,beq,lb,ub)
Does anyone know why this is happening. Is there some kind of bug in my license or am I doing something wrong?
Thanks in advance!!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by