共享和分发软件
R2026b创建和管理包及其对其他库的依赖关系
共享您在 MATLAB 中开发的软件的最简单方法是创建一个包。如果您的包依赖其他包或库,您可以包含随代码一起安装的依赖项。有关详细信息,请参阅Interactively Create and Share Packages。
最终用户可以通过仓库或使用“附加功能”面板从您的包安装软件。有关查找和安装包的详细信息,请参阅Distribute Packages Using Folder-Based Repositories 或 获取和管理附加功能。
有关在软件开发过程中使用包的详细信息,请参阅Develop and Share Software in MATLAB。
函数
主题
- Develop and Share Software in MATLAB
Create a project, manage source control, build a package, and publish it to File Exchange.
- MATLAB Packages and Package Dependencies
Use the MATLAB® Package Manager to find, organize, and distribute code.
- Interactively Create and Share Packages
Bundle MATLAB files to create a single installation file to share with others. These files can include MATLAB code, data, apps, examples, and documentation.
- Programmatically Turn Your Code Into a Package
Turn Code that is ready for release into a package.
- 确定程序依赖项
确定您的程序所依赖的函数和脚本。