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

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
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