Why do I receive "Unexpected implementation class: coder.desc​riptor.Typ​edRegion" 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?

采纳的回答

Aiswarya
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 个)

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by