why 'blsprice' is an undefined function??

2 visualizaciones (últimos 30 días)
RUOXI
RUOXI el 4 de Sept. de 2012
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!

Respuesta aceptada

José-Luis
José-Luis el 4 de Sept. de 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 comentarios
RUOXI
RUOXI el 4 de Sept. de 2012
Thank you!!!
Walter Roberson
Walter Roberson el 4 de Sept. de 2012
Also, sometimes documented functions might be newer than the version you have installed.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by