Power overloading not supported for code generation

4 Ansichten (letzte 30 Tage)
Didier Billard
Didier Billard am 20 Nov. 2018
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.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by