Embedded coder Replacement type error

17 visualizzazioni (ultimi 30 giorni)
ABBASSI Younes
ABBASSI Younes il 10 Dic 2015
Commentato: Praitk il 17 Set 2024
Hi, I recieve this error when I build the model for C autocoding:
Replacement type (Float64, Float32, Int32, Int16, Int8, Uint32, Uint16, Uint8, Bool, Int32, Uint32) must be defined as a Simulink.AliasType or a Simulink.NumericType object, and the object must resolve to a primitive type.
I use only double in my Simulink model.
Regards.

Risposte (1)

Mahesh Talwar
Mahesh Talwar il 19 Apr 2018
If your model has signal builder then it throws this error. Remove the signal builder and replace it with inports. It works.
  2 Commenti
williams francis
williams francis il 1 Feb 2019
I dont have an signal builder in my model, but I am getting same error in my model.
Praitk
Praitk il 17 Set 2024
Same error at my side as well ; we are also not using any signal builder block in model.

Accedi per commentare.

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by