Power overloading not supported for code generation

Hello,
I am currently facing a problem when generating code including power operator overload.
This is the model block from which I try to generate code:
testMatlabOverloadedPowerBlock.JPG
This is the very simple function I have defined for this MATLAB function:
testMatlabOverloadedPowerFunction.JPG
When code genration is launched whitout power operator overloading, the build process is successful:
testMatlabOverloadedPowerNormalBuildSuccess.JPG
But when code generation is launched with power operator overloading, the build process fails with the following error message:
testMatlabOverloadedPowerOverloadedBuildFailed.JPG
Can anyone explain me this phenomena please ?
Thank you for your attention.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

リリース

R2017a

質問済み:

2018 年 11 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by