Main Content

Write a Source Control Integration with the SDK

MATLAB® provides built-in integrations with Git™ and Subversion® (SVN). To integrate other source control tools such as Perforce with MATLAB, you can write a source integration using the Software Development Kit (SDK) available on File Exchange. See https://www.mathworks.com/matlabcentral/fileexchange/61483-source-control-integration-software-development-kit.

The SDK provides instructions for writing an integration to a source control tool that has a published API you can call from Java®.

You must create a .jar file that implements a collection of Java interfaces and a Java file, that defines a set of required properties.

The SDK provides example source code, Javadoc, and files for validating, building, and testing your source control integration. Build and test your own interfaces using the example as a guide. Then, you can use your source control integration in MATLAB to work with files and projects under source control. Download the SDK and follow the instructions.

After you write a source control integration, you can access functionality of your source control tool directly in the Current Folder and the Current Project browsers.

Tip

You can check for updated source control integration downloads on the projects Web page: https://www.mathworks.com/products/simulink/projects.html

Related Topics