How can I use simulink of matlab r2009b to generate c code?

조회 수: 5 (최근 30일)
Jianming Su
Jianming Su 2012년 8월 28일
For matlab r2009b does not have matlab coder ,simulink of matlab r2009b can do the work,please tell me how .Thank you!

답변 (1개)

Sumit Tandon
Sumit Tandon 2012년 8월 28일
For older versions of MATLAB/Simulink, you can use a combination of Real-Time Workshop and Real-Time Workshop Embedded Coder to generate optimized C-code from your Simulink model.
Also, the Embedded MATLAB block in Simulink would allow you to generate C-code from MATLAB code, provided you use functions from the Embedded MATLAB Subset.
See R2009a documentation for those products: http://www.mathworks.com/help/releases/R2009a/helpdesk.html
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 8월 28일
(Note: a MATLAB license is required to look at the above link.)
One thing to note is that the Signal Processing Toolbox is not supported by the above tool chain. The Simulink Signal Processing Blockset is supported, though. This means that it would be necessary to redesign the filter code you have designed to use the Blockset instead.

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

Community Treasure Hunt

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

Start Hunting!

Translated by