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

4 views (last 30 days)
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!!

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!