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 件のコメント

Elton
Elton 2012 年 11 月 9 日
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.
Walter Roberson
Walter Roberson 2012 年 11 月 10 日
It is not uncommon for specialized topics such as this to go without response for several days.
Kaustubha Govind
Kaustubha Govind 2012 年 11 月 12 日
What is the error that you see with the codegen command? Please also paste the exact command that you are running.
Elton
Elton 2012 年 11 月 15 日
編集済み: Walter Roberson 2012 年 11 月 15 日
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
Walter Roberson
Walter Roberson 2012 年 11 月 15 日
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 日

0 投票

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 件のコメント

Walter Roberson
Walter Roberson 2012 年 11 月 12 日
MATLAB Coder cannot be purchased for Student Version: it requires an Academic or commercial license.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB 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