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 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Fred Smith
Fred Smith am 12 Nov. 2012
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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 9 Nov. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by