Help

Welcome!

This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

MATLAB Coder

Avatar
Administrator
 MATLAB 代码生成 C 和 C++ 代码

MATLAB® Coder™ 可从 MATLAB 代码生成可读且可移植的 C 和 C++ 代码。它支持大多数 MATLAB 语言和广泛的工具箱。您可以将生成的代码作为源代码、静态库或动态库集成到您的工程中。您还可以在 MATLAB 环境中使用生成的代码,以加快您的 MATLAB 代码中计算量密集部分的执行速度。MATLAB Coder 允许您将已有的 C 代码集成到您的 MATLAB 算法和生成的代码中。

通过结合使用 MATLAB Coder 和 Embedded Coder®,您可以进一步优化代码的效率和自定义生成的代码。然后可以使用软件在环 (SIL) 和处理器在环 (PIL) 执行程序验证生成代码的数字行为。

MATLAB Coder 快速入门

MATLAB Coder 基础知识学习

用于代码生成的 MATLAB 编程

用于代码生成的 MATLAB 语言语法和函数;数据定义

代码生成

C/C++ 和 MEX 代码生成、修复错误、行为验证

部署

C/C++ 库和可执行文件,与外部应用程序集成

性能

缩短代码生成时间,提高执行速度,减少所生成代码的内存使用量

MATLAB 算法加速

使用生成的 MEX 函数加速代码执行

数值转换

定点转换、单精度转换(需要 Fixed-Point Designer™)

使用 MATLAB Coder 进行深度学习

生成用于深度学习神经网络的 C++ 代码(需要 Deep Learning Toolbox™)

支持的硬件

对第三方硬件的支持


查看错误报告以确定并解决问题

Software is inherently complex and is not free of errors. The output of a code generator might contain bugs, some of which are not detected by a compiler. MathWorks reports critical known bugs brought to its attention on its Bug Report system at www.mathworks.com/support/bugreports/. Use the Saved Searches and Watched Bugs tool with the search phrase "Incorrect Code Generation" to obtain a report of known bugs that produce code that might compile and execute, but still produce wrong answers.

The bug reports are an integral part of the documentation for each release. Examine periodically all bug reports for a release, as such reports may identify inconsistencies between the actual behavior of a release you are using and the behavior described in this documentation.

In addition to reviewing bug reports, you should implement a verification and validation strategy to identify potential bugs in your design, code, and tools.

Avatar
Discard