Simulink warning (frame-based vs. sample-based)
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Kaustubha Govind
2012-5-9
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 个评论
Kaustubha Govind
2012-5-10
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
2019-10-19
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"?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!