problem with recursive concatenate function

조회 수: 4 (최근 30일)
Nels
Nels 2025년 4월 1일
답변: Walter Roberson 2025년 4월 1일
im working on a simulation to make a "Live" comperation between a prerecorded signal, and a new signal as it is being mesured.
this requires that i can save and then input the entire messured signal, into the function block, the simplest solution for this seemed to be the MUX or vector cat block, but both result in an error.
picture for reference.
thanks for help.

답변 (1개)

Walter Roberson
Walter Roberson 2025년 4월 1일
Use a "constant" block https://www.mathworks.com/help/simulink/slref/constant.html to import the pre-recorded signal.
Note: you might also need a buffer block https://www.mathworks.com/help/dsp/ref/buffer.html to hold the equivalent length of input signal. In that regard you might want to use a large "buffer overlap"

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by