Embedded coder Replacement type error

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.

Respuestas (1)

Mahesh Talwar
Mahesh Talwar el 19 de Abr. de 2018

0 votos

If your model has signal builder then it throws this error. Remove the signal builder and replace it with inports. It works.

2 comentarios

williams francis
williams francis el 1 de Feb. de 2019
I dont have an signal builder in my model, but I am getting same error in my model.
Praitk
Praitk el 17 de Sept. de 2024
Same error at my side as well ; we are also not using any signal builder block in model.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 10 de Dic. de 2015

Comentada:

el 17 de Sept. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by