Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Aiswarya
Aiswarya il 2 Feb 2024
Modificato: Aiswarya il 2 Feb 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

Più risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by