Simulink warning (frame-based vs. sample-based)

3 ビュー (過去 30 日間)
Octav Chipara
Octav Chipara 2012 年 5 月 9 日
コメント済み: mh z 2019 年 10 月 19 日
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

回答 (1 件)

Kaustubha Govind
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
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
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"?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSignal Import and Export についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by