Undefined function or variable 'fminsearchbnd'.

조회 수: 3 (최근 30일)
Mohammed Iqbal
Mohammed Iqbal 2016년 9월 9일
댓글: Mischa Kim 2016년 9월 9일
Hi, I am new to Matlab. I get an error message "Undefined function or variable 'fminsearchbnd'" when I ran code of Paolo Zagaglia ( http://in.mathworks.com/matlabcentral/fileexchange/34391-probability-of-informed-trading ) downloaded from mathwork. All the codes and data are available in the downloaded rar file. Can anybody help me to identify where I went wrong? Thank You

답변 (1개)

Mischa Kim
Mischa Kim 2016년 9월 9일
Mohammed, did you add the folder you downloaded to the MATLAB search path?
In the MATLAB editor go to the Home tab in the tool strip, click Set Path (in ENVIRONMENT section) and add the folder with subfolders.
  댓글 수: 2
Mohammed Iqbal
Mohammed Iqbal 2016년 9월 9일
Yes, I did that but still getting the same error message. Are you able run the code Mischa Kim?
Mischa Kim
Mischa Kim 2016년 9월 9일
Yes, I have. It works.
One more thing, you do need: fminsearchbnd, as pointed out in the File Exchange contribution by Paolo Zagaglia.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Performance and Memory에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by