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
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
2019-2-1
I dont have an signal builder in my model, but I am getting same error in my model.
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!