why 'blsprice' is an undefined function??

2 views (last 30 days)
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!

Accepted Answer

José-Luis
José-Luis on 4 Sep 2012
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 Comments
Walter Roberson
Walter Roberson on 4 Sep 2012
Also, sometimes documented functions might be newer than the version you have installed.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!