getDiscreteStateSpecificationImpl
Discrete state size, data type, and complexity
Syntax
[size,dataType,complexity] = getDiscreteStateSpecificationImpl(obj,propertyName)
Description
[
returns the size, data type, and complexity of the discrete state property. This property must be a discrete state property. You must define this method if your System object™ has discrete state properties and is used in theMATLAB Systemblock.size
,dataType
,complexity
] = getDiscreteStateSpecificationImpl(obj
,propertyName
)
Run-Time Details
getDiscreteStateSpecificationImpl
is called by theMATLAB Systemblock during Simulink®model compilation.
Method Authoring Tips
You must set
Access = protected
for this method.You cannot modify any properties in this method.