Simulink code generation for TI F28335
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Venkatesh Chilapur
2019년 12월 30일
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 C Code Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!