getting incorrect simulinkg port specifier error

9 vues (au cours des 30 derniers jours)
Bharath Chandan
Bharath Chandan le 31 Oct 2017
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 , "

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 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.

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by