주요 콘텐츠

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

버퍼, 스위치, 카운터

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

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

블록

모두 확장

Buffer blockBufferBuffer input sequence to smaller or larger frame size
N-Ratio Buffer blockN-Ratio BufferBuffer input data into integer-multiple-sized frames (R2026a 이후)
Delay Line blockDelay LineRebuffer sequence of inputs
Queue blockQueueStore inputs in FIFO register
Stack blockStackStore inputs into LIFO register
Unbuffer blockUnbufferUnbuffer input frame into sequence of scalar outputs
N-Ratio Unbuffer blockN-Ratio UnbufferUnbuffer input data into integer-factor-sized frames (R2026a 이후)
Counter blockCounterCount up or down through specified range of numbers
Edge Detector blockEdge DetectorDetect transition from zero to nonzero value
Event-Count Comparator blockEvent-Count ComparatorDetect threshold crossing of accumulated nonzero inputs
Multiphase Clock blockMultiphase ClockGenerate multiple binary clock signals
N-Sample Enable blockN-Sample EnableOutput ones or zeros for specified number of sample times
N-Sample Switch blockN-Sample SwitchSwitch between two inputs after specified number of sample periods

도움말 항목