No default options available: the function 'fmincon' does not exist on the path.
조회 수: 15 (최근 30일)
이전 댓글 표시
I am running demo showing below, with error : No default options available: the function 'fmincon' does not exist on the path. what's wrong with my matlab?
load Data_MarkPound
dem2gbp = price2ret(Data);
[coeff,errors,LLF,innovations,sigmas] = garchfit(dem2gbp);
댓글 수: 0
답변 (2개)
Martyn Dorey
2012년 5월 24일
I've just had this error in compiled code. It is not being picked because the optimset command uses a text reference to fmincon. optimset('fmincon'). To get around this error add the following line of text to your code which uses a pragma: %#function fmincon
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!