Create simulink project template containing .gitattributes and .gitignore files

26 views (last 30 days)
Thomas Dobosz
Thomas Dobosz on 25 Nov 2021
Answered: Sivani Pentapati on 7 Jan 2022
Hey guys,
I'm trying to set up a basic simulink project containing standard folder structure. Additionally, I want the template to be able to be easily put under source control. So I added a .gitattributes and a .gitignore file to the project before exporting it as a template. Now, when I create a simulink prject using this template, the .gitattributes and .gitignore files are missing.
Is there any possibility to force files into a template?
Other suggestions to solve this problem are welcome as well.
Greetings,
Thomas

Answers (1)

Sivani Pentapati
Sivani Pentapati on 7 Jan 2022
Hi Thomas,
Simulink projects have interfaces to git, you can manually set up git source control in your Simulink Project. For more information, please refer to the below link

Community Treasure Hunt

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

Start Hunting!

Translated by