Function 'inv' is not supported in HDL coder.

2 ビュー (過去 30 日間)
jiten tandel
jiten tandel 2014 年 11 月 10 日
回答済み: Tim McBrayer 2014 年 11 月 10 日
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 Center および File ExchangeHDL Coder についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by