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
3 件のコメント
回答 (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!