Power overloading not supported for code generation
5 ビュー (過去 30 日間)
古いコメントを表示
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:

This is the very simple function I have defined for this MATLAB function:

When code genration is launched whitout power operator overloading, the build process is successful:

But when code generation is launched with power operator overloading, the build process fails with the following error message:

Can anyone explain me this phenomena please ?
Thank you for your attention.
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!