MATLAB Answers

Unable to Convert Vitdec to C using MATLAB coder

4 views (last 30 days)
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 Comments

Mike Hosea
Mike Hosea on 16 Dec 2019
More context, please. What happens when you try to generate code?
Yulia M
Yulia M on 16 Dec 2019
Hi Mike,
This is the error I am getting.
regards,
vitdec.PNG
Markandeya Janaswamy
Markandeya Janaswamy on 23 Dec 2019
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

Sign in to comment.

Accepted Answer

Darshan Ramakant Bhat
Darshan Ramakant Bhat on 24 Dec 2019
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 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!