Write a Source Control Integration with the SDK - MATLAB & Simulink (original) (raw)
Main Content
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®. 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.
- Download the SDK and follow the instructions to write your own source control integration.
- Enable use of your own source control integration in MATLAB. On the Home tab, in theEnvironment section, clickSettings. Select > . Then, enable Enable 3rd-party source control integrations (requires Java).
- Access functionality of your source control tool directly in the Files, Project, and Source Control panels.