simscape.instrumentation.VariableTable
Description
simscape.instrumentation.VariableTable
returns an empty
VariableTable object.
A VariableTable object represents the Simscape block variables in a
key
, value
pair. key
is a block
variable of type string, and value
is a
simscape.instrumentation.VariableCongfiguration
object associated with the
variable. simscape.instrumentation.VariableTable
returns an empty table that
you can construct by inserting variables. You can apply the variable table to one or more of
the same Simscape block. You can use object functions, or methods, with a VariableTable
object.
Creation
You create an empty VariableTable object when you set a workspace variable equal to
simscape.instrumentation.VariableTable
. You create a populated
VariableTable object when you use either the simscape.instrumentation.defaultVariableTable
or simscape.instrumentation.getVariableTable
functions. You can return the names of
block variables that are available for logging using the keys
object
function.
Object Functions
Examples
Version History
Introduced in R2024a