You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run singleshell_IMOC_1Opt_CNLO.m demo. But it jump out error: undefined function or variable 'NLOPT_LD_SLSQP'. And then I download the nlopt-2.4.2-dll64 and use command addpath('nlopt-2.4.2-dll64/matlab') in matlab. But it said try to run SCRIPT nlopt_optimize as function. Does anyone know how to solve it?
Thanks.
The text was updated successfully, but these errors were encountered:
I think that it is because you did not successfully install nlopt in matlab, then matlab cannot find the nlopt_optimize function.
You'd better build nlopt by yourself, then add the folder which contains nlopt_optimize.m in the matlab path. https://nlopt.readthedocs.io/en/latest/NLopt_Installation/#matlab
Hello,
I tried to run singleshell_IMOC_1Opt_CNLO.m demo. But it jump out error: undefined function or variable 'NLOPT_LD_SLSQP'. And then I download the nlopt-2.4.2-dll64 and use command addpath('nlopt-2.4.2-dll64/matlab') in matlab. But it said try to run SCRIPT nlopt_optimize as function. Does anyone know how to solve it?
Thanks.
The text was updated successfully, but these errors were encountered: