MCC-- make an executable using matlab in linux

6 次查看(过去 30 天)
I m using matlab 2009 provided by department. It is license version.
I don't have mcc command in my installation. How Can I do it ? I have one m file and I want to make it executible ? Is there any other way ? Can anyone suggest the easiest way ?

采纳的回答

Walter Roberson
Walter Roberson 2012-6-18
You need the MATLAB Compiler version for your release.
If you are in an academic institution and that institution has the compiler, then there are some circumstances under which the institution could compile the file for you. The license restrictions are a bit fuzzy in an academic environment. The interpretation that I have come up with is that in an academic environment, if the compiling was for the internal benefit of the institution rather than for the benefit of the student, then having the department compile would be acceptable. For example if the work you were doing was as a "summer student" helping a professor, then compiling would probably be allowed, but if the work you were doing was an assignment or project needed for grade or graduation, then that would be considered to be for your benefit and the department would not be allowed to compile under the license terms (according to my interpretation of the license.)
The MATLAB Compiler is the only product that can compile .m files to .exe. There is, however, also a MATLAB Coder product that was released around R2010b or so, that can convert very limited subsets of MATLAB into C code.
  3 个评论
Kaustubha Govind
Kaustubha Govind 2012-8-7
Aravin: If your only requirement is that your MATLAB code not be visible to the others, then you may simply want to pcode your functions.
Aravin
Aravin 2012-8-7
Thanks Goving,
I hope it will solve my problem.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by