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.

답변 (1개)

Mahesh Talwar
Mahesh Talwar 2018년 4월 19일

0 개 추천

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

댓글 수: 2

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

댓글을 달려면 로그인하십시오.

카테고리

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

질문:

2015년 12월 10일

댓글:

2024년 9월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by