getting incorrect simulinkg port specifier error

We are seeing compile fail in the cosim environment on the rtl side of the simulation . THe error is "illegal Simulink port " and the pre cursor to this was that Simulink was complaining on a port expecting fixdt 5 bits as an input and the connection was 4 bits . After changing this setting to 5 bits fixdt the error now is " Illegal Simulink port , "

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2019년 10월 17일

0 개 추천

I was asked to look into a simple Simulink model in R2016 that has the "incorrect Simulink port specifier" error when updating model or generating code. The error didn't appear when the model was copied and updated in a different computer.
The user re-installed MATLAB R2016b and the error disappeared.

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

태그

질문:

2017년 10월 31일

답변:

2019년 10월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by