필터 지우기
필터 지우기

Simulink Project ignore files and folders

조회 수: 16 (최근 30일)
Andreas
Andreas 2020년 1월 3일
댓글: Christian 2021년 3월 17일
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.

답변 (1개)

Mark McBroom
Mark McBroom 2020년 1월 4일
right mouse click on the file/folder and select "Remove from Project"
https://www.mathworks.com/help/matlab/matlab_prog/manage-project-files.html
  댓글 수: 2
Andreas
Andreas 2020년 1월 8일
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.
Christian
Christian 2021년 3월 17일
+1 on this topic. We have a project with mex-files, but the source code is managed via Visual Studio. We don't want to include all the VS files in the Simulink project but we also don't want to deal with the permanent error messages. Is there any simple workaround?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

태그

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by