Error in Cure_main (line 36) options = optimoptions Cure_main.m is my main function. Error using optimoptions (line 124) Empty keys are not allowed in this container.I have also checked that I have the appropriate toolbox: Theme. ThanksThe optimoptions() function is part of the Optimization Toolbox, which is different from the Global Optimization Toolbox, (which provides the genetic algorithm solver) in …I have confirmed that I can open optimoptions in my copy of matlab. Also when I type optimoptions in Matlab it says: Undefined function or variable 'optimoptions'. I have also checked that the gt_cmex_gdx_write file is in the corresponding API folder.1 I use this from the documentation: options = optimoptions ('fminunc','GradObj','on','Hessian','on') and for some reason I get this error: Undefined function 'optimoptions' for input arguments of type 'char'. However, I have checked my GAMS folder and the file gdxdclib64.dll is in there. I restarted my computer in between each, but the issue is still occuring. It started with 2018b, then I updated to 2019a, then I uninstalled both 2018b and 2019a and did a reinstall of 2019a. So it seems to me like Matlab is crashing before it even has a chance to bring up the logo.Other members of my team can run the code, using copies of my files. Prior to line 36, no other functions are yet called. ![]() ![]()
0 Comments
Leave a Reply. |