[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!