getting incorrect simulinkg port specifier error

6 views (last 30 days)
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 , "

Answers (1)

Fangjun Jiang
Fangjun Jiang on 17 Oct 2019
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.

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!