problem with recursive concatenate function
4 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
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"
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!