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 Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2012년 9월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by