| Simulink Reference | ![]() |
Convert a signal to a new type without altering signal values.
Library
Description
The Signal Conversion block converts a signal from one type to another. The block's Output parameter lets you select the type of conversion to be performed.
Data Type Support
The Signal Conversion block accepts virtual or nonvirtual signals of any data type.
Parameters and Dialog Box
Converts a muxed signal whose elements occupy discontiguous areas of memory to a vector signal whose elements occupy contiguous areas of memory. The block does this by allocating a contiguous area of memory for the elements of the muxed signal and copying the values from the discontiguous areas (represented by the block's input) to the contiguous areas (represented by the block's output) at each time step.
Converts a nonvirtual bus to a virtual bus. This option enables you to combine an originally nonvirtual bus with a virtual bus.
Contiguous copy conversion. Unless you select this option, Simulink eliminates the block from the compiled model as an optimization, if the elements of the input signal occupy contiguous areas of memory.
Characteristics
| Sample Time |
Inherited |
| Scalar Expansion |
n/a |
| Dimensionalized |
n/a |
| Zero Crossing |
No |
| Signal Builder | Signal Generator | ![]() |
© 1994-2005 The MathWorks, Inc.