Appendix F

Using the Code Generator with MATLAB

 

 

F.1 Introduction

THIS book is based on the premise that first perfecting a DSP algorithm in MATLAB and then migrating the resulting m-file to real-time C code is a valuable skill. One of the alternatives to developing this skill is to use an automated code-generation tool called the MATLAB Coder to convert a MATLAB function “auto-magically” into C code. Using a code generator can potentially save time, but the user has much less control over the form of the software created, and will probably have less understanding of the generated software. If errors crop up, this can make debugging quite difficult. Ultimately, the decision of which approach to use is yours. The authors are strong ...

Get Real-Time Digital Signal Processing from MATLAB to C with the TMS320C6x DSPs, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.