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

1 view (last 30 days)
For matlab r2009b does not have matlab coder ,simulink of matlab r2009b can do the work,please tell me how .Thank you!

Answers (1)

Sumit Tandon
Sumit Tandon on 28 Aug 2012
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 Comment
Walter Roberson
Walter Roberson on 28 Aug 2012
(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.

Sign in to comment.

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!