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