Error occurred while build the demo model tc4x_8ledsBlinky for TC4Dx

36 次查看(过去 30 天)
When I built the demo tc4x_8ledsBlinky(Getting Started with Embedded Coder Support Package for Infineon AURIX TC4x Microcontrollers) for device TC49x, everything was OK.
But when I only changed the device to TC4Dx, building couldn't be finished with error:
Non-scalar in Uniform output, at index 2, output 1.
Set 'UniformOutput' to false.
I don't know where to set the option 'UniformOutput'. Would anyone can tell me why this was happened and how to fix it?

回答(1 个)

S@m
S@m 2025-8-22,12:01
编辑:S@m 2025-8-24,3:53
Hi Andy,
The demo uses peripheral blocks from the AURIX TC4x library. In Simulink R2024b, these blocks are only supported for the Infineon AURIX TC49x Triboard, but not with Infineon AURIX TC4Dx boards. Therefore, you are getting a build error when configuring the demo with TC4Dx’ device.
For more information, refer to the note in the below R2024b documentation.
Consider implementing the demo in Simulink R2025a. In R2025a version, some peripheral blocks are supported with TC4Dxboard. Refer the R2025a release notes given in the link below. The list of supported peripheral blocks is mentioned under "Hardware Support" “InfineonAURIXTC4x Microcontrollers: Peripheral block support for TC4Dx Hardware boards”.
  1 个评论
Andy
Andy 2025-8-23,14:18
Dear Support,
Thanks for your help. I have tried. The demo can run in R2025A with Infineon TC4D9 board successfully.
Best regards,
Andy

请先登录,再进行评论。

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by