Simulink code generation for TI F28335

1 visualización (últimos 30 días)
mehrdad mirzaei
mehrdad mirzaei el 22 de Dic. de 2019
Comentada: Venkatesh Chilapur el 30 de Dic. de 2019
Hey dears
I am going to generate code from a discrete simulink model but there is no same sample time in generated code in comparison with simulink simulation. I mean when I am running code on my hardware it appeared that it is running with a different sample time rahter than what i set in in simulink model.
So I just wanted to know if there is someone who faced this problem and fixed it before, to help me out on this issue.
looking forward to hearing your instructive answers.
  1 comentario
Venkatesh Chilapur
Venkatesh Chilapur el 30 de Dic. de 2019
Hi,
Could you try toggling a discrete output and see if the toggle rate is inline with the sample rate in which the GPIO block is placed. This is easy and effective way to verify the working of sample time.
Regards,
Venkatesh C

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre C Code Generation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by