Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
Jianming Su
Jianming Su el 28 de Ag. de 2012
For matlab r2009b does not have matlab coder ,simulink of matlab r2009b can do the work,please tell me how .Thank you!

Respuestas (1)

Sumit Tandon
Sumit Tandon el 28 de Ag. de 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 comentario
Walter Roberson
Walter Roberson el 28 de Ag. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by