Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
Jianming Su
Jianming Su am 28 Aug. 2012
For matlab r2009b does not have matlab coder ,simulink of matlab r2009b can do the work,please tell me how .Thank you!

Antworten (1)

Sumit Tandon
Sumit Tandon am 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 Kommentar
Walter Roberson
Walter Roberson am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by