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.
Best Answer