Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What files should I add to the .gitignore when using MATLAB and Simulink?

I would like to know what files I should add to the .gitignore file when I am using MATLAB and Simulink.

Should the files slx.original be added?

like image 545
lmiguelvargasf Avatar asked Aug 06 '15 13:08

lmiguelvargasf


1 Answers

Github has a nice gitignore repo

Specifically for Matlab projects, the template is:

##---------------------------------------------------
## Remove autosaves generated by the Matlab editor
## We have git for backups!
##---------------------------------------------------

# Windows default autosave extension
*.asv

# OSX / *nix default autosave extension
*.m~

# Compiled MEX binaries (all platforms)
*.mex*

# Simulink Code Generation
slprj/

# Session info
octave-workspace

# Simulink autosave extension
.autosave
like image 99
asiviero Avatar answered Sep 29 '22 09:09

asiviero