fmincon, mex file creation error
2 views (last 30 days)
Show older comments
I am running a simulink model using fmincon function to optimise on of the transfer functions within it. at random numbers of iterations the following error occurs:
Error using RapidConObj (line 17)
Problem creating Accelerator MEX file for model 'FullSystem_V32'.
To see the build output, use
set_param('FullSystem_V32','AccelVerboseBuild','on')
Error in fmincon (line 635)
initVals.f = feval(funfcn{3},X,varargin{:});
Error in RapidM (line 31)
x=fmincon('RapidConObj',x0,[],[],[],[],l,[],[],options,ACCurrent);
Caused by:
Error using RapidConObj (line 17)
C:\Users\wr023543\Dropbox\EngD\RTG
Project\Modelling\RapidParam\slprj\accel\FullSystem_V32\tlc could not be
removed.
Failure in initial user-supplied objective function evaluation. FMINCON
cannot continue.
does anyone have a clue why it would be fine 5 times and not the 6th or 19 but not the 20th?
cheers
3 Comments
Answers (0)
See Also
Categories
Find more on Simulink Design Optimization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!