Function 'inv' is not supported in HDL coder.

2 次查看(过去 30 天)
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??

回答(1 个)

Tim McBrayer
Tim McBrayer 2014-11-10
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.

类别

Help CenterFile Exchange 中查找有关 HDL Coder 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by