本页面提供的是上一版软件的文档。当前版本中已删除对应的英文页面。
工程中的源代码管理
配置源代码管理、检索文件、审核更改内容、提交已修改文件
通过工程,您可以查找所需的文件、管理并共享文件和设置以及与源代码管理进行交互,从而有助于您组织大型建模工程。观看使用工程来协作、跟踪和合并更改并执行代码审查(4 分 50 秒),并参阅什么是工程?和。
函数
主题
源代码管理设置
- 用源代码管理工具注册模型文件
将模型文件注册为二进制文件。 - 设置 Git 源代码管理
设置 Git™ 源代码管理以在 MATLAB® 中使用,包括注册二进制文件以避免文件损坏,以及设置 SSH 身份验证以防止频繁的登录提示。 - Automatically Merge Models Locally and in CI Pipeline
Enable MATLAB Git integration to automatically merge model files. - 在 GitHub 上共享工程
要共享您的工程,请在 GitHub® 上使您的工程公开可用。 - 设置 SVN 源代码管理
配置 SVN、注册模型文件、锁定文件、共享存储库以及管理 SVN 外部引用。 - Reduce Test Runtime on CI Servers
Set up your project for CI in Jenkins® and reduce test suite runtime using dependency cache and impact analysis. - Customize External Source Control to Use MATLAB for Diff and Merge
Use the MATLAB Comparison Tool for diff and merge from external source control tools.
检索和签出
审核更改内容、提交已修改文件
- 使用 Git 拉取、推送和提取文件
用于提取、合并更改和将更改推送到远程存储库的 Git 工作流。