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?
0 个评论
回答(1 个)
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 ‘TC4Dx’ board. 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”.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!