[Coder] Which types are supported for constant folding?
Mostrar comentarios más antiguos
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 comentarios
Denis Gurchenkov
el 18 de Mzo. de 2020
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
el 18 de Mzo. de 2020
Jan Siegmund
el 18 de Mzo. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre AMD FPGA and SoC Devices en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!