Code generation in Matlab Simulink for Mac OS.

How can i generate C code of a simulink file for matlab R2015a installed in my Mac.

 采纳的回答

It is not possible to buy any of the code generation tools for the Student version (or for the Home version either.) Only the Academic, and Professional / Commercial licenses allow code generation.
Effectively, students working on projects that require generating code for embedded hardware or FPGA, need to have faculty or staff do the generation using their Academic license.

更多回答(3 个)

The following page shows you the supported compilers for Mac OS in R2015a:
Under the Simulink product family, you can see that using Simulink Coder and Embedded Coder requires Xcode 5.1+ or 6.0 as a compiler.
- Sebastian
Thank you. I installed Xcode 6 in my mac already still i am not able to navigate or find code generation in Model Configuration Parameters under Simulation tab for a simulink file. Where can i find option code generation in Matlab/Simulink or is there any other way to do the same.
-Ram

1 个评论

Do you have Simulink Coder and/or Embedded Coder products installed?
You can check this by typing
>> ver
and seeing if those come up. If you don't have those, that would be why the code generation options aren't there.
- Sebastian

请先登录,再进行评论。

I am not having those products. My Matlab is student version, is that the reason i am not having these these products? Is it possible to buy these products for student version?

类别

帮助中心File 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