Why do I receive "Unexpected implementation class: coder.desc​riptor.Typ​edRegion" error when building?

2 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Aiswarya
Aiswarya le 2 Fév 2024
Modifié(e) : Aiswarya le 2 Fév 2024
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

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by