MATLAB Answers

Simulink Project ignore files and folders

13 views (last 30 days)
Andreas
Andreas on 3 Jan 2020
Commented: Andreas on 8 Jan 2020
I'm using Simulink Project in R2017b to organize my project.
Within the project folder, I have some files which should not be part of the project for different reasons:
  • some are temporary files e.g. slprj-folder, which are already ignored by means of .gitignore
  • some are files, which are typically edited or created outside of matlab (e.g. process descriptions), they are part of source control, but should be ignored by matlab
How can I get Simulink Project to ignore both kind of files / folders.

  0 Comments

Sign in to comment.

Answers (1)

Mark McBroom
Mark McBroom on 4 Jan 2020
right mouse click on the file/folder and select "Remove from Project"
https://www.mathworks.com/help/matlab/matlab_prog/manage-project-files.html

  1 Comment

Andreas
Andreas on 8 Jan 2020
Thanks Mark,
Removing from project still leads to a 'check project' report with a a long list of files, which are under source control but not part of project.
This long list makes it hard to find files which should be added to source control.
I'm searching for a possibility to ignore or exclude files or folders explicitly from project, while keeping them in source control.

Sign in to comment.

Sign in to answer this question.

Products


Release

R2017b

Translated by