Undefined function or variable 'fminsearchbnd'.

10 ビュー (過去 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 Center および File ExchangeFinancial Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by