Simulink warning (frame-based vs. sample-based)
10 views (last 30 days)
Show older comments
Hi,
I'm getting the following warning in simulink:
... Warning: Update your model to move control of sample- and frame-based processing from the frame status of the signal to the block dialog parameters. If your model does not contain any referenced models, perform all three of the following steps: ...
Do you guys know, is it safe to ignore this warning? I tried to do the steps indicated in the DSP System Toolbox Release Notes, however, it does not seem to remedy this warning. It keeps complaining about sample vs. frame-based sampling. Even some of the standard blocks (e.g., mean) seem to produce this warning. Advice would be greatly appreciated.
Thanks, -- Octav
0 Comments
Answers (1)
Kaustubha Govind
on 9 May 2012
I think it's best to fix your model to avoid the warning, because if you don't, your model may start to error in a future release. However, if this is for prototyping work that you don't plan on porting to later versions, I think it might be okay to ignore the warning.
Do you get the warning even after setting the "Input processing" on all the blocks to "Frame-based"? I believe even the Mean block now has this parameter (amongst other blocks that also support frame-based processing). Also consider running slupdate on your model so some of the work is done automatically for you.
3 Comments
Kaustubha Govind
on 10 May 2012
The easiest way is to turn on Format>Port/Signal Displays>Wide Nonscalar Lines on your model. The frame signals are represented with lines that look like "=" (ie. two lines). Scalar signals are represented by a single, thin line and regular non-scalar signals are represented by a single, thick line.
mh z
on 19 Oct 2019
How to set the "Input processing" on all the blocks to "Frame-based"? For example, which parameter should I set to set the block "To workspace" to "Frame-based"?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!