Function 'inv' is not supported in HDL coder.
4 views (last 30 days)
Show older comments
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??
0 Comments
Answers (1)
Tim McBrayer
on 10 Nov 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.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!