Financial Instruments Toolbox Tutorial - Error on Intenvset?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!