Github support for Matlab files

조회 수: 6 (최근 30일)
Mikael Sahlin
Mikael Sahlin 2014년 10월 20일
답변: Bruno Pop-Stefanov 2014년 10월 21일
Which type of files used within matlab has support from git?
Especially .m files and .mat files

채택된 답변

Bruno Pop-Stefanov
Bruno Pop-Stefanov 2014년 10월 21일
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:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Source Control에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by