How to resolve this error in TargetLink Code generation?

Error #01225:
Port width mismatch. Input 'Radar_ObjLabel' expects a signal of size 8. The signal received is of size 1.
How to resolve this error in TargetLink Code generation?

回答(1 个)

Error in port widths or dimensions: We can initialize the Port input from constant [0 0 0 0 0 0 0 0]. this can solve port mismatch issue.

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by