Financial Instruments Toolbox Tutorial - Error on Intenvset?
显示 更早的评论
I'm trying to run through the financial instruments toolbox tutorial for pricing European options. See the link:
Everything works until I get to this line of code:
RateSpec = intenvset('Compounding',Compounding,'StartDates', StartDates,...
'EndDates', EndDates, 'Rates', Rates,'ValuationDate', ValuationDate);
I get the following error: Undefined function 'intenvset' for input arguments of type 'char'.
QUESTION - Why am I getting this error? I'm literally copying and pasting from the tutorial! Help!
Thanks, Adam
EDIT - I misspoke at first. This is for the financial instruments toolbox, not the financial toolbox.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File 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!