Overview
Converts between numeric data types
Discussion
This module converts between various 32-bit data types. The input dataType is inherited from the input wire. The output dataType is specified as a module argument.
When bypassed the module is still active and continues to perform the conversion.
Type Definition
Code Block |
---|
typedef struct _ModuleTypeConversion { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 inputType; // Specifies the dataType of the input INT32 outputType; // Specifies the dataType of the output } ModuleTypeConversionClass; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
inputType | int | parameter | 1 | 0 | 0:2 | |
outputType | int | parameter | 1 | 0 | 0:2 |
Pins
Input Pins
Name: in
Description: Input signal
...
Complex support: Real and Complex
Output Pins
Name: out
Description: Output signal
Data type: float
MATLAB Usage
File Name: type_conversion_module.m
...