Register Model Files with Source Control Tools
If you use third-party source control tools, you must register your model file
.slx) as binary formats. If
you do not, these third-party tools can corrupt your model files when you submit them,
by changing end-of-line characters, expanding tokens, substituting keywords, or
attempting to automerge. Corruption can occur whether you use the source control tools
outside of Simulink® or if you try submitting files from a project without first registering
your file formats.
Also check that other file extensions are registered as binary to avoid corruption at
check-in for files such as
For instructions with SVN, see Register Model Files with Subversion. You must register model files if you use SVN, including the
SVN integration provided by the project.
For instructions with Git, see Register Binary Files with Git.
You can reduce your Git™ repository size by saving Simulink models without compression. Turning off compression results in larger SLX files on disk but reduces repository size.
To use this setting with new SLX files, create your models using a model template with SLX Compression set to none. For existing SLX files, set compression and then save the model. For more information, see Set SLX Compression Level.