when i run the code: Npexamples
I get
'userfun' must be a string.
出错 snJac (line 7)
[A,iAfun,jAvar,iGfun,jGvar] = snoptcmex(findJacOption,usrfun,x0,xlow,xupp,nF);
出错 snopt (line 456)
[valA,iAfun,jAvar,iGfun,jGvar] = snJac(userFG,x,xlow,xupp,nF);
出错 sntoy2 (line 30)
[x,F,inform] = snopt(x,xlow,xupp,xmul,xstate, ...
出错 runNPexamples (line 24)
sntoy2;
when i run the code: Qpexamples
I get
错误使用 sqoptmex
Invalid license
出错 solve_sqopt (line 13)
[x,obj,info,itn,y,state] = sqoptmex(mexopt, start, name, ...
出错 sqopt (line 332)
[x,obj,info,output,lambda,states] = solve_sqopt(start, name, ...
出错 hs76 (line 52)
[x,Obj,INFO,lambda,states,output] = sqopt(H, f, x0, xl, xu, A, al, au, options);
出错 runQPexamples (line 8)
hs76;
But I download the licenses form the email you send me
How can I handle this problem