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!