Does memory block support frame-based processing in simulink and to use frame-based processing is it compulsary to for all outputs to have frame-based sampling even if some of them are only flgs or numbers?

1 view (last 30 days)
Does memory block support frame-based processing in simulink to use frame-based processing is it compulsary to for all outputs to have frame-based sampling even if some of them are only flgs or numbers? Here is the model I have made in simulink: i43.tinypic.com/k1uupt.png , now my problem is the highlighted block gives following error:- Error: Cannot propagate frame-based signal through input 'MATLAB Function5' because this input expects a sample-based signal. The frame-based signal originates from 'mzmzmzcpy/MATLAB Function5/ SFunction '. Consider inserting an Unbuffer in the signal path.
I am using frame based processing, I save a whole frame in memory and want to read this frame at the time I need it at the input of same block but every time I get this error, I have tried both "memory" and "data store memory" blocks, can anybody help me to know how can I change sampling mode of input as I have tried using "converter" block to change output of "data read memory" block to frame output even then i found the same error(Cannot propagate frame-based signal through input 'MATLAB Function5' because this input expects a sample-based signal), then i tried using buffer but then i found the error given at the beginning of this note.

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!