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일

0 개 추천

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

Chan KitHoe
Chan KitHoe 2017년 9월 11일
Oh, I see. Then how do I run a script on Matlab which has both C code function and matlab function? (e.g - It executes C equivalent Matlab function for certain parts of the script and executes Matlab function for other part of the script.) Thank you!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

질문:

2017년 9월 10일

댓글:

2017년 9월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by