필터 지우기
필터 지우기

Error with the simulink downsample component

조회 수: 13 (최근 30일)
Pascal
Pascal 2023년 6월 1일
댓글: Ker Chee 2024년 7월 22일 2:37
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일 2:37
Hello Pascal, have you solved your problem? Because I have the same issue with you too

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Signal Generation에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by