Simulink / xPC automatically generated files

조회 수: 1 (최근 30일)
Martin
Martin 2012년 7월 12일
Hi folks,
I have always been annoyed by the automatically generated files (from building a model) cluttering up my working folder.
Since my working folder tends to be the current project folder containing my scripts (.m) and simulink diagrams (.mdl), I now have to wade through additional files like *bio.m, *pt.m, *ref.m, *.xml, *.dlm ...
Is there a way to manage this file clutter better? For example in Visual Studio, you would have a separate folder (say Debug) which contain the output of the files generated by the build process, leaving the source folder nice and clean.
Any help will be greatly appreciated!

채택된 답변

Albert Yam
Albert Yam 2012년 7월 12일
When I'm working with models, I will usually have a LOAD.m file that modifies the addpath. Then put files in selected folders. I will almost always have a \Build folder to run the model, so that \sfprj and mex32 stuff get filed away there.
Just make sure you go to the build folder when you run the model.
  댓글 수: 1
Martin
Martin 2012년 7월 16일
I considered something similar, was hoping to discover an option somewhere in Simulink that lets you choose a build folder. Great input though!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by