why 'blsprice' is an undefined function??

2 次查看(过去 30 天)
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
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 个评论
Walter Roberson
Walter Roberson 2012-9-4
Also, sometimes documented functions might be newer than the version you have installed.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction 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