이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
신호 가져오기 및 내보내기
외부 신호와의 상호 작용
DSP System Toolbox™의 파일 리더 및 작성기 System object와 블록을 사용하여 오디오 파일, 이진 파일, MAT 파일에서 데이터를 읽고 쓸 수 있습니다. dsp.SignalSource
객체와 블록(예: Signal From Workspace 및 To Workspace (Simulink))을 사용하면 MATLAB® 작업 공간에서 신호를 가져오고 내보낼 수 있습니다. UDP의 Send 객체 및 Receive 객체와 블록을 사용하면 UDP 네트워크를 통해 데이터 패킷을 송신할 수 있습니다. Audio Device Writer 객체와 블록을 사용하여 장치의 사운드 카드에서 오디오를 재생할 수도 있습니다.
객체
블록
도움말 항목
이진 파일
- Write and Read Binary Files
Usedsp.BinaryFileReader
anddsp.BinaryFileWriter
to read and write data to binary files. - Write and Read Matrix Data
Usedsp.BinaryFileReader
anddsp.BinaryFileWriter
to 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.
작업 공간
- 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.
장치 및 네트워크
- Byte Transmission Using UDP
Use thedsp.UDPSender
anddsp.UDPReceiver
objects 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.