Main Content

Signal Attributes

R2026b
Blocks for converting data types, units, and other signal properties, such as Data Type Conversion, Rate Transition, and Signal Specification

Use blocks from the Signal Attributes library to modify the properties of signals as they pass through your model. You can convert data types, change engineering units, set initial values, specify signal dimensions, or control sample times.

To add blocks from this library to your model, see Add Blocks to Models.

Blocks

Bus to Vector blockBus to VectorConvert virtual bus to vector
Data Type Conversion blockData Type ConversionConvert input signal to specified data type
Data Type Conversion Inherited blockData Type Conversion InheritedConvert from one data type to another using inherited data type and scaling
Data Type Duplicate blockData Type DuplicateForce all inputs to same data type
Data Type Propagation blockData Type PropagationSet data type and scaling of propagated signal based on information from reference signals
Data Type Scaling Strip blockData Type Scaling StripRemove scaling and map to built in integer
IC blockICSet initial value of signal
Probe blockProbeOutput signal attributes, including width, dimensionality, sample time, and complex signal flag
Rate TransitionHandle transfer of data between blocks operating at different rates
Signal Conversion blockSignal ConversionConvert signal to new type without altering signal values
Signal Specification blockSignal SpecificationSpecify desired dimensions, sample time, data type, numeric type, and other attributes of signal
Unit Conversion blockUnit ConversionConvert units
Weighted Sample Time blockWeighted Sample TimeSupport calculations involving sample time
Width blockWidthOutput width of input vector

Tools

Library BrowserFind and add blocks to model

Topics