Why do I receive "Unexpected implementation class: coder.descriptor.TypedRegion" error when building?
2 次查看(过去 30 天)
显示 更早的评论
I generated code using Embedded Coder for a model and when I tried to run the simulation which references this model in SIL mode, during build phase I get: Unexpected implementation class: coder.descriptor.TypedRegion error.
Looking at this: https://www.mathworks.com/help/ecoder/ref/coder.descriptor.datatransferfunction-class.html it seems that this is an object in the FunctionOwner property for coder.descriptor.FunctionInterface class.
I am using 2021b version of Matlab/Simulink, and when I look inside the help for this version, this FunctionOwner property isn't present there, but since 2022b it is present. Does anybody know what could be the issue here?
0 个评论
采纳的回答
Aiswarya
2024-2-2
编辑:Aiswarya
2024-2-2
The property "FunctionOwner" was introduced in the coder.descriptor.FunctionInterface class in MATLAB R2022b version. This is the reason why you are not able to find it using the 'help' function in R2021b. There is no such property in R2021b.
You may refer to the following documentation for more information on the properties of 'coder.descriptor.FunctionInterface' class: https://www.mathworks.com/help/rtw/ref/coder.descriptor.functioninterface-class.html
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!