Main Content

버퍼, 스위치, 카운터

신호의 샘플 레이트 또는 프레임 속도 변경, 이벤트 카운트, 에지 감지, 이벤트 발생 시 동작 수행

Simulink®에서 Buffer, Unbuffer, Delay Line 블록과 같은 프레임 리버퍼링 블록을 사용하여 신호 레이트와 프레임 크기를 변환합니다. Simulink의 QueueStack 블록과 MATLAB®dsp.AsyncBuffer 객체를 사용하여 FIFO 및 LIFO 버퍼를 구현합니다. DSP System Toolbox™의 스위치 블록과 카운터 블록을 사용하여 이벤트를 카운트하고, 에지를 감지하고, 이벤트 발생 시 동작을 수행할 수도 있습니다.

객체

dsp.AsyncBufferFIFO buffer

함수

rebuffer_delayNumber of samples of delay introduced by buffering and unbuffering operations

블록

모두 확장

BufferBuffer input sequence to smaller or larger frame size
Delay LineRebuffer sequence of inputs
QueueStore inputs in FIFO register
StackStore inputs into LIFO register
UnbufferUnbuffer input frame into sequence of scalar outputs
CounterCount up or down through specified range of numbers
Edge DetectorDetect transition from zero to nonzero value
Event-Count ComparatorDetect threshold crossing of accumulated nonzero inputs
Multiphase ClockGenerate multiple binary clock signals
N-Sample EnableOutput ones or zeros for specified number of sample times
N-Sample SwitchSwitch between two inputs after specified number of sample periods

도움말 항목