Signalimport und -export
Schnittstelle zu externen Signalen
Mit den System objects und Blöcken zum Lesen und Schreiben von Dateien in DSP System Toolbox™ können Sie Daten aus Audiodateien, Binärdateien und MAT-Dateien lesen und schreiben. Das dsp.SignalSource-Objekt und Blöcke wie Signal From Workspace und To Workspace (Simulink) ermöglichen Ihnen den Import und Export von Signalen aus dem MATLAB®-Workspace. Mit den Objekten und Blöcken „UDP Send und Receive“ können Sie Datenpakete über das UDP-Netzwerk übertragen. Mithilfe des Objekts und Blocks „Audio Device Writer“ können Sie zudem Audio über die Soundkarte Ihres Geräts abspielen.
Objekte
Blöcke
Themen
Binärdateien
- Write and Read Binary Files
Usedsp.BinaryFileReaderanddsp.BinaryFileWriterto read and write data to binary files. - Write and Read Matrix Data
Usedsp.BinaryFileReaderanddsp.BinaryFileWriterto read and write matrix data to binary files. - Write and Read Fixed-Point Data
Write and read fixed-point data. - Write and Read Character Data
Write and read character data. - Write and Read Binary Files in Simulink
Write data to a binary file and read the same data in Simulink®. - Write and Read Matrix Data from Binary Files in Simulink
Write matrix data to a binary file. Read the data as a real matrix and a complex matrix. - Write and Read Fixed-Point Data from Binary Files in Simulink
Write and read fixed-point data from a binary file. - Write and Read Character Data from Binary Files in Simulink
Write and read character data from a binary file. - Change the Endianness of the Data in Simulink
Change the endianness of the data in simulink.
Workspace
- Import and Export Signals for Sample-Based Processing
Import signals from the MATLAB workspace into your DSP model and export signals from your signal processing model to the MATLAB workspace. The signals are configured for sample-based processing. - Import and Export Signals for Frame-Based Processing
Import signals from the MATLAB workspace into your signal processing model and export signals from your signal processing model to the MATLAB workspace. The signals are created for frame-based processing.
Geräte und Netzwerk
- Byte Transmission Using UDP
Use thedsp.UDPSenderanddsp.UDPReceiverobjects to send and receive UDP packets over the network. - Transmit Complex Data over UDP Network
Transmit complex STFT data over UDP network. - Data Transmission Using UDP in Simulink
Transmit and receive a sine wave signal over UDP network. - Decrease Underrun
Examine the Audio Device Writer block in a Simulink® model, determine underrun, and decrease underrun.