Get report context value
cvalue = getContext(report,key)
gets the report context value specified by the key. Use this method to retrieve report
context information you have set previously using the
cvalue = getContext(
method. The context values and keys are stored in a
Report, specified as a report object. To create the
report input, use
key— Key associated with context value
Key associated with context value, specified as a numeric, real scalar, string, or cell array.
cvalue— Context value
Context value associated with specified key, returned as the value for that key.