[Coder] Which types are supported for constant folding?
古いコメントを表示
The output type is a 1x262144 uint16.
The coder complains with:
The input to coder.const cannot be reduced to a constant: Unsupported type.
Which types are supported?
3 件のコメント
Denis Gurchenkov
2020 年 3 月 18 日
Most likely, you are hitting a case where the functon internally creates a variable-sized array (that is the most commonly seen "unsupported type"). There is no convenient way of figuring out what exactly is the cause of the error, other than opening the compilation report and starting on the body of the failing function, and hovering the mouse over various expressions and seeing which one has a non-constant size.
Jan Siegmund
2020 年 3 月 18 日
Jan Siegmund
2020 年 3 月 18 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で AMD FPGA and SoC Devices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!