fmincon, mex file creation error
2 次查看(过去 30 天)
显示 更早的评论
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Design Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!