This example shows how to use the Analog Output block to output simulated stereo signals from Simulink, generated from a mono source. In this example, the sound card is selected as the output device in the Analog Output block.
Note: This example requires 32-bit version of MATLAB®, Simulink, Data Acquisition Toolbox, DSP System Toolbox™ and a Windows® sound card to open and run the model.
The simulated stereo signal is sent to both the channels of a Windows sound card. Verifying a Simulink model with the hardware enables you to quickly determine if a model is accurate.
Even though a Windows sound card was used for this example, this model can be easily updated to connect your models to other supported data acquisition devices.