Github support for Matlab files

5 visualizaciones (últimos 30 días)
Mikael Sahlin
Mikael Sahlin el 20 de Oct. de 2014
Respondida: Bruno Pop-Stefanov el 21 de Oct. de 2014
Which type of files used within matlab has support from git?
Especially .m files and .mat files

Respuesta aceptada

Bruno Pop-Stefanov
Bruno Pop-Stefanov el 21 de Oct. de 2014
You can add any type of file to a Git repository. However, if you are using command-line Git (meaning, you have installed Git on your own to use it at the command line instead of using the integration in the Current Folder browser), you have to make sure to configure Git so that .mat files and other binary files are recognized as binary files. Otherwise, Git might try to change the end-of-file character which will corrupt the file.
This is explained in details in the documentation:

Más respuestas (0)

Categorías

Más información sobre Source Control en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by