How can I use simulink of matlab r2009b to generate c code?
5 ビュー (過去 30 日間)
古いコメントを表示
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
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
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!