why 'blsprice' is an undefined function??

When I type in the following code, the Matlab says it's an undefined function?
>> [Call, Put] = blsprice(100, 95, 0.1, 0.25, 0.5)
??? Undefined function or method 'blsprice' for
input arguments of type 'double'.
But I think 'blsprices' is a function that is in the Financial Toolbox. So is there anybody who can help me with this problem?
Thank you!

 採用された回答

José-Luis
José-Luis 2012 年 9 月 4 日

0 投票

Use the ver command to see what toolboxes you have installed. If the financial toolbox is not there, that would explain your problem. If your license permits then you need to install it
If not, then either buy it, write the function yourself or try it in a computer with the toolbox installed.

2 件のコメント

RUOXI
RUOXI 2012 年 9 月 4 日
Thank you!!!
Walter Roberson
Walter Roberson 2012 年 9 月 4 日
Also, sometimes documented functions might be newer than the version you have installed.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by