Function 'inv' is not supported in HDL coder.

2 visualizaciones (últimos 30 días)
jiten tandel
jiten tandel el 10 de Nov. de 2014
Respondida: Tim McBrayer el 10 de Nov. de 2014
i am trying to convert my .m file to vhdl using HDL coder. but while fix-point conversion function 'inv' is not supported. got a error " Function 'inv' is not defined for values of class 'int32' ". and in fix-pont converted file it converted with " fi_toint ". and fi_toint returns only int32 type. how do i fix this problem? any alternative to fix this problem??

Respuestas (1)

Tim McBrayer
Tim McBrayer el 10 de Nov. de 2014
The short answer is that the function call to inv is not supported by HDL Coder, just like the message you received says. The list of supported functions are available in the documentation at:
if you must have the behavior of inv in your HDL design you will need to write its behavior in MATLAB for the fixed matrix size you are working with.

Categorías

Más información sobre HDL Coder en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by