I have a model which gets its input signals from the MATLAB workspace via the "From Workspace" block. My signal starts as an Mx2 array, that is, it is a two-channel sampled (discrete time) signal. The model buffers the input signals into frames using a "Buffer" block. All subsequent processing is frame-based, until the output, which unbuffers to produce an output signal at the same sample rate as the input signals.
However, when I use a timeseries object with multiple channels I get dimension errors in my model. I can fix that by changing "Treat Mx1 and unoriented sample-based signals as:" in the Buffer block from the recommended "One channel" to "M channels (this choice will be removed – see release notes)". Although it seems to work, I get this message:
Block 'Buffer' uses the frame status of the signal. Update your model to move control of sample-based and frame-based processing from the frame status of the signal to the block dialog parameters. For help in resolving this and other upgrade issues, run the 'Check model for block upgrade issues requiring compile time information' check in the Simulink Upgrade Advisor
How do I import a multi-channel signal into my model as a timeseries object without using the deprecated "Buffer" block option?
Best Answer