Code generation in Matlab Simulink for Mac OS.

6 views (last 30 days)
How can i generate C code of a simulink file for matlab R2015a installed in my Mac.

Accepted Answer

Walter Roberson
Walter Roberson on 7 May 2015
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.

More Answers (3)

Sebastian Castro
Sebastian Castro on 7 May 2015
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

Ram Mohan Sanaboyina
Ram Mohan Sanaboyina on 7 May 2015
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 Comment
Sebastian Castro
Sebastian Castro on 7 May 2015
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

Sign in to comment.


Ram Mohan Sanaboyina
Ram Mohan Sanaboyina on 7 May 2015
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?

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!