list of signal processing toolbox functions that support code generation
code generation from matlab® is a restricted subset of the matlab language that provides optimizations for:
generating efficient, production-quality c/c code and mex files for deployment in desktop and embedded applications. for embedded targets, the subset restricts matlab semantics to meet the memory and data type requirements of the target environments.
depending on which feature you wish to use, there are additional required products. for a comprehensive list, see (matlab coder).
code generation from matlab supports signal processing toolbox™ functions listed in this table:
to generate c code, you must have the matlab coder™ software. if you have the fixed-point designer™ software, you can use (fixed-point designer) to generate mex code for fixed-point applications.
to generate c/c code and mex files with codegen
(matlab coder), install the matlab
coder software, the signal processing toolbox, and a c compiler. for the windows® platform, matlab supplies a default c compiler. run mex -setup
at the
matlab command prompt to set up the c compiler. change to a folder where you have
write permission.