帮助中心帮助中心
本页翻译不是最新的。点击此处可查看最新英文版本。
要共享或转移静态和生成的代码文件,请使用 packNGo 函数。例如,当您要将这些文件转移到不提供 MATLAB® 和 Simulink® 产品的开发环境中时,请使用 packNGo 函数。
packNGo
生成源代码并使用 codebuild 创建 CMake 配置文件。使用 packNGo 创建一个 ZIP 文件,将生成的源代码、编译信息和 CMake 配置文件打包在一起。在转移后,使用标准 ZIP 实用工具解包 ZIP 文件。然后,使用诸如 CMake 等工具编译最终的库或可执行文件。
codebuild
将生成的代码和工件打包并转移到其他开发环境中。
Relocate generated code and compile in another environment.
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office