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?

Answers (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.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Asked:

on 22 Dec 2015

Answered:

on 14 Feb 2018

Community Treasure Hunt

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

Start Hunting!