버퍼, 스위치, 카운터
Simulink®에서 Buffer, Unbuffer, Delay Line 블록과 같은 프레임 리버퍼링 블록을 사용하여 신호 레이트와 프레임 크기를 변환합니다. Simulink의 Queue 및 Stack 블록과 MATLAB®의 dsp.AsyncBuffer
객체를 사용하여 FIFO 및 LIFO 버퍼를 구현합니다. DSP System Toolbox™의 스위치 블록과 카운터 블록을 사용하여 이벤트를 카운트하고, 에지를 감지하고, 이벤트 발생 시 동작을 수행할 수도 있습니다.
객체
dsp.AsyncBuffer | FIFO buffer |
함수
rebuffer_delay | Number of samples of delay introduced by buffering and unbuffering operations |
블록
도움말 항목
- Sample- and Frame-Based Concepts
Explore basic signal concepts in the context of a Simulink model. Learn more about sample-based processing and frame-based processing.
- Buffering and Frame-Based Processing
Convert signals of frame size
1
into signals of frame size greater than1
, and vice versa. - Convert Sample and Frame Rates in Simulink Using Frame Rebuffering Blocks
Learn how frame rebuffering blocks impact the sample rate and frame rate of signals in Simulink models.
- Delay and Latency
Configure the Simulink environment to minimize delay and increase simulation performance.
- Why Does Reading Data from the dsp.AsyncBuffer Object Give a Dimension Mismatch Error in MATLAB Function Block?
Resolve the dimension mismatch error when you read data from an Async buffer inside the MATLAB function block.
- Why Does the dsp.AsyncBuffer Object Error When You Call read Before write?
Initialize the async buffer by calling either setup or write before the first call to read.