I cannot load the function CodeGen C6000 Basic Code Generation from a MATLAB m-function

I got the compiler part using mex -setup correctly, then I tried evryething, and could not get it to use the function codegen.
This is part of C6000 Teaching Materials and in the document Code Generation from a MATLAB m-function.
1016.New Microsoft Word Document.docx

6 个评论

I asked the TI forums, and they told me to come here. to open the document I posted on the bottom, go to this link.
It is not uncommon for specialized topics such as this to go without response for several days.
What is the error that you see with the codegen command? Please also paste the exact command that you are running.
I'm not sure how to post the Microsoft Word here. But if you click the link I provided, you will find that I posted it in the other forum in my original post.
I first run the 1st line, everything is fine. Then the 2nd line is run, and the error comes. If you cannot access the link, it says "undefined function codegen for input arguments of type char.
mex -setup
codegen my_inverse.m -c -args {eye(3)} -report –launchreport
As Fred astutely noticed, you are running Student Version. codegen cannot be licensed for the Student Version. You will not be able to run that command except by getting a more costly base MATLAB license, together with a license for MATLAB Coder.

请先登录,再进行评论。

回答(1 个)

MATLAB Coder is not available as part of the student version. You need to buy a MATLAB Coder license separately. Do you have a license?

1 个评论

MATLAB Coder cannot be purchased for Student Version: it requires an Academic or commercial license.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 MATLAB Coder 的更多信息

产品

提问:

2012-11-9

Community Treasure Hunt

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

Start Hunting!

Translated by