code generation and deployment -凯发k8网页登录
after you develop your application using communications toolbox™ features, you can generate portable c/c source code, standalone executables, or standalone applications from your matlab® code. with code generation, you can:
run your simulation on machines that do not have matlab or simulink® installed.
speed up processing while you work in the matlab or simulink environment.
incorporate your algorithms into legacy code.
this table compares deployment characteristics of matlab compiler™ and matlab coder™ functionality. use this table to decide how to deploy your matlab code or simulink model.
deployment characteristic | using matlab compiler functionality | using matlab coder functionality |
---|---|---|
output | nonreadable shared libraries. | portable and readable c source code. |
library dependency | . | none. |
supported platforms for deployment | windows®, mac, and linux®. | any platform that supports ansi®/iso® c/c code. |
intellectual property protection | packaged code is encrypted. | code is not encrypted. you can protect your ip by generating shared libraries instead of readable code. |
algorithm acceleration | same speed as matlab. | potentially faster, depending on the algorithm. |
matlab graphics | supported. | not supported. |
features with code generation and gpu array support
categories
generate c code from matlab code and simulink, and use gpus to accelerate processing
generate hdl code from matlab code and simulink models