intenvset
Set properties of interest-rate structure
Syntax
Description
creates an interest-rate term structure (RateSpec
= intenvset(Name,Value
)RateSpec
) where the input
argument list is specified as name-value pairs.
Note
When creating a new RateSpec
, the set of arguments passed to
intenvset
must include StartDates
,
EndDates
, and either Rates
or
Disc
.
Alternatively, you can create a RateSpec
using the Financial Instruments Toolbox™ object framework to construct a ratecurve
object. For more
information on converting a RateSpec
object to a ratecurve
object, see Convert RateSpec to a ratecurve Object.
[
creates an interest-rate term structure (RateSpec
,RateSpecOld
] = intenvset(RateSpec
,Name,Value
)RateSpec
) where the input
argument list is specified as name-value pairs along with the optional argument
RateSpec
. If the optional argument RateSpec
is
specified, intenvset
modifies the existing interest-rate term structure
RateSpec
by changing the named argument to the specified values and
recalculating the arguments dependent on the new values.
[
creates an interest-rate term structure RateSpec
,RateSpecOld
] = intenvsetRateSpec
with all fields set to
[ ]
.