Unable to Convert Vitdec to C using MATLAB coder

Hi,
I am new to MATLAB. I am using MATLAB coder to convert Vitdec function to generate C code from it but I am facing the issue with generating the C code. Can anyone tell what might be the issue?
Regards,
Ganesh

3 件のコメント

Mike Hosea
Mike Hosea 2019 年 12 月 16 日
More context, please. What happens when you try to generate code?
Yulia M
Yulia M 2019 年 12 月 16 日
Hi Mike,
This is the error I am getting.
regards,
vitdec.PNG
Markandeya Janaswamy
Markandeya Janaswamy 2019 年 12 月 23 日
Two possibilities:
1) vitdec supports codegen from R2016a onwards. Check that your version of matlab is R2016a or above.
2) You have a local file on your path which is named vitdec.m and does not support codegen

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

 採用された回答

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2019 年 12 月 24 日

2 投票

The below documentation page lists the functions supported for code generation :
Additionally you can use coder.screener to know more about codegen compatibility of a function :

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by