Code generation in Matlab Simulink for Mac OS.

조회 수: 16 (최근 30일)
Ram Mohan Sanaboyina
Ram Mohan Sanaboyina 2015년 5월 7일
답변: Walter Roberson 2015년 5월 7일
How can i generate C code of a simulink file for matlab R2015a installed in my Mac.

채택된 답변

Walter Roberson
Walter Roberson 2015년 5월 7일
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개)

Sebastian Castro
Sebastian Castro 2015년 5월 7일
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 2015년 5월 7일
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
Sebastian Castro
Sebastian Castro 2015년 5월 7일
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

댓글을 달려면 로그인하십시오.


Ram Mohan Sanaboyina
Ram Mohan Sanaboyina 2015년 5월 7일
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?

카테고리

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