Error with the simulink downsample component

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!

Respuestas (1)

Pascal
Pascal el 2 de Jun. de 2023

0 votos

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 comentario

Ker Chee
Ker Chee el 22 de Jul. de 2024
Hello Pascal, have you solved your problem? Because I have the same issue with you too

Iniciar sesión para comentar.

Categorías

Más información sobre Modeling en Centro de ayuda y File Exchange.

Productos

Versión

R2023a

Etiquetas

Preguntada:

el 1 de Jun. de 2023

Comentada:

el 22 de Jul. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by