Q = rpteq(FName)
Q = rpteq(Eqtn)
FName
[ char | cellstr ] - File name or cellstr array of file names, each a plain text file with reporting equations; multiple input files will be combined together.
Eqtn
[ char | cellstr ] - Equation or cellstr array of equations.
Q
[ rpteq ] - New reporting equations object.Reporting equations must be written in the following form:
`LhsName = RhsExpr;`
`"Label" LhsName = RhsExpr;`
where
LhsName
is the name of a left-hand-side variable (with no lag or lead);
RhsExpr
is an expression on the right-hand side that will be evaluated period by period, and assigned to the left-hand-side variable, LhsName
.
"Label"
is an optional label that will be used to create a comment in the output time series for the respective left-hand-side variable.
the equation must end with a semicolon.
q = rpteq({ ...
'a = c * a{-1}^0.8 * b{-1}^0.2;', ...
'b = sqrt(b{-1});', ...
})
q =
rpteq object
number of equations: [2]
comment: ''
user data: empty
export files: [0]