Code generation in Matlab Simulink for Mac OS.

14 visualizzazioni (ultimi 30 giorni)
How can i generate C code of a simulink file for matlab R2015a installed in my Mac.

Risposta accettata

Walter Roberson
Walter Roberson il 7 Mag 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.

Più risposte (3)

Sebastian Castro
Sebastian Castro il 7 Mag 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 il 7 Mag 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 Commento
Sebastian Castro
Sebastian Castro il 7 Mag 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

Accedi per commentare.


Ram Mohan Sanaboyina
Ram Mohan Sanaboyina il 7 Mag 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?

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by