Simulink.ValueType
Specify properties of signals based on application-specific value types
Description
A Simulink.ValueType
object is an application-specific set of
properties that corresponds to a type of value, such as wind velocity. With
ValueType
objects, you specify the properties once and reuse that
specification for each signal that represents the same type of value.
To create and modify ValueType
objects in the base workspace or a data
dictionary, you can use the Model Explorer or
MATLAB® commands. You cannot store ValueType
objects in model
workspaces.
Specify a ValueType
object:
At an interface with Inport, Outport, In Bus Element, or Out Bus Element blocks
In a model with Signal Specification blocks
In a
Simulink.BusElement
object
Use ValueType
objects to validate the properties of a signal and enforce
consistency between connected blocks at an interface.
Creation
Use either the Simulink.ValueType
function described here or the Model Explorer to
create a ValueType
object.
Syntax
Description
returns a
vt
= Simulink.ValueTypeValueType
object with default property values.
Properties
Examples
Version History
See Also
Simulink.BusElement
| systemcomposer.ValueType
(System Composer)