Convert IRFunctionCurve
object to RateSpec
F = toRateSpec(CurveObj,InpDates)
CurveObj | Interest-rate curve object that is constructed using |
InpDates | Vector of input dates using MATLAB® date format. The input dates must be after the settle date. |
F = toRateSpec(CurveObj,InpDates)
returns
a RateSpec
object that is identical to the RateSpec
structure
created by the Financial
Instruments Toolbox™ function intenvset
.