Source Control Information Block

Display Simulink project source control information in the Simulink editor


Updated 11 Jan 2017

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This example shows how to display Source Control information about a Simulink model in the Simulink editor. The Simulink project command-line API gets source control status information and displays it on a block mask. The source control information includes the revision number of the file, and whether the file is modified.

Cite As

Gavin Walker (2023). Source Control Information Block (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Fix issue in getSourceControlStatusExample.m