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 Center および File ExchangeDeployment, 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