Function not supported for code generation

161 ビュー (過去 30 日間)
Chan KitHoe
Chan KitHoe 2017 年 9 月 10 日
コメント済み: Adam 2017 年 9 月 11 日
Hi everyone! I wanted to generate C code from Matlab code. However there's issue with the matlab coder as it couldn't convert 'im2col' and it says here 'im2col is not supported by code generation'. May I know how i can resolve this issue? Also, how can I make a testbench for my function? Thank you!
  1 件のコメント
Adam
Adam 2017 年 9 月 11 日
You can program your own version and run that through coder instead.

サインインしてコメントする。

回答 (1 件)

José-Luis
José-Luis 2017 年 9 月 10 日
編集済み: José-Luis 2017 年 9 月 10 日
You can't.
It's up to the Mathworks to decide which functions to include.
You could always ask them nicely.
I don't know which version of Matlab you are using but maybe they have included it in newer releases. You'd have to check.
Otherwise you'll have to write it yourself.
  2 件のコメント
José-Luis
José-Luis 2017 年 9 月 11 日

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by