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

Fred Smith
Fred Smith 2012년 11월 12일
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