Main Content
getVariableValue
Class: mlreportgen.report.MATLABVariable
Namespace: mlreportgen.report
Get MATLAB variable value
Syntax
value = getVariableValue(rptr)
Description
returns the value variable specified by the value
= getVariableValue(rptr
)Variable
and
Location
properties of the specified MATLABVariable
reporter (rptr
).
Input Arguments
Output Arguments
Examples
Obtain the Value of a MATLAB Workspace Variable
x = 17; rptr = mlreportgen.report.MATLABVariable(x); value = getVariableValue(rptr)
value = 17
Version History
Introduced in R2018b