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!