Why R2024b C2000 ePWM Block generates useless "tbprdValue?Outputs" variable?
이전 댓글 표시
As described in the title, after upgrading to R2024b, I found that each ePWM block will automatically generate a sentence like this:
uint16_T tbprdValue?Outputs = EPwm?Regs.TBPRD;
where ? represents the ePWM number. However, I found that this variable is not used in any file of the project.
Though it doesn't influce the functionality of the software, I wonder what's the purpose of adding this sentence to the code-gen result.
Thanks and best regards to anyone who found this post!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!