Error with the simulink downsample component

10 ビュー (過去 30 日間)
Pascal
Pascal 2023 年 6 月 1 日
コメント済み: Ker Chee 2024 年 7 月 22 日
Hello,
I am using the downsample component in simulink, but I am getting the error message:
"Nonzero sample time offsets are not supported"
during C++ generation.
My sample offset is set to 0 in the block parameters window. I also tried to use a workspace variable set to 0 to see if it makes a difference. No change.
I have used this block before without any problem. Any recommendation on how to debug this?
Thanks!

回答 (1 件)

Pascal
Pascal 2023 年 6 月 2 日
It lloks like it is working if the component is used at the top level but fails with the bizarre message if used in a subsystem.
  1 件のコメント
Ker Chee
Ker Chee 2024 年 7 月 22 日
Hello Pascal, have you solved your problem? Because I have the same issue with you too

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

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by