代码生成和部署
After you develop your application using音频工具箱™features, you can generate portable C/C++ source code, standalone executables, or standalone applications from your MATLAB®代码or Simulink®model。使用代码生成,您可以:
运行你的algorithm在没有MATLAB的机器上or Simulinkinstalled.
Speed up processing while you work in the MATLABor Simulinkenvironment.
Embed your algorithm in hardware.
Incorporate your algorithms into legacy code.
This table compares deployment characteristics ofMATLAB Compiler™和MATLAB Coder™功能。使用此表来决定如何部署MATLAB代码or Simulink model。
部署特征 | UsingMATLAB Compiler功能 | UsingMATLAB Coder功能 |
---|---|---|
Output | Nonreadable shared libraries. | Portable and readable C source code. |
Library dependency | MATLABRuntime。 | 仅对音频I/O功能的库依赖性:Run Audio I/O Features Outside MATLAB and Simulink。 |
Supported platforms for deployment | 视窗®,Mac, and Linux®。 |
Any platform that supports ANSI®/ISO®C/C++ code. |
Intellectual property protection | 包装代码已加密。 |
代码未加密。您可以通过生成共享库而不是可读代码来保护您的IP。 |
算法加速度 | Same speed as MATLAB. |
根据算法,可能会更快。 |
MATLAB graphics | 万博1manbetx支持的。 | Not supported. |
To deploy an audio plugin to a digital audio workstation, seeExport a MATLAB Plugin to a DAW。
To deploy a System object™ audio plugin to Simulink, seeConvert Audio Plugin System Objects to Simulink Blocks。
Topics
- What is C Code Generation from MATLAB?
Introduces code generation support.
- Run Audio I/O Features Outside MATLAB and Simulink
设置系统环境以使用动态库文件进行部署的音频I/O系统对象和块。
- 识别和显示口头指令在Android Device(万博1manbet万博1manbetxxsimulink支持包适用于Android设备)
This example shows how to use the Simulink® Support Package for Android™ Devices to deploy a deep learning algorithm that recognizes and displays commands spoken through your Android device such as a phone or tablet.
Related Information
- Active Noise Control: From Modeling to Real-Time Prototyping
- MATLAB编译器产品的适当任务s manbetx 845(MATLAB Compiler)
- 独立应用(MATLAB Compiler)