필터 지우기
필터 지우기

Linking projects together in Simulink project

조회 수: 10 (최근 30일)
Mikael Sahlin
Mikael Sahlin 2014년 8월 29일
답변: Tim Hosey 2016년 9월 26일
Hi
Im exploring Simulink Projects and I wonder wether there is a possibility to either divide a large Project into a lot of smaller ones, or linking Projects together without having to copy paste files from each Project. Often we want to work on Projects in smaller teams and if succesful we want to add them to larger Projects or connect several smaller Projects, is there a functionality for this?

답변 (2개)

Christopher Berry
Christopher Berry 2014년 8월 30일
There are a couple of options for what you are describing, depending on your needs. The easiest, would be to use what is called "Model Reference" in Simulink. Basicaly, you can add a "Model" block described in the doc here:
Which lets you link to an existing *.mdl or *.slx model in another model.
Each model will have its own configurations for things like the solver, which may or may not be what you are looking for.
The second option is create your own library of components which could be added to an existing model. This way only one configuration would be active.
Happy modeling!
  댓글 수: 1
Mikael Sahlin
Mikael Sahlin 2014년 9월 22일
Hi I don't Think I was clear in my question, I appologize for that. In using Simulink Projects I wonder the following:
Lets say I work at a major company that produces something large, like a car for instance. And we want each team work on their own Projects, to make this easy we want a team to work with modelling the traction Control systems such as anti-spin and ABS etc.
So my question is if each of these teams uses their own Simulink Project setup. Is it possible for me to link these different ones together (sort of the same as the model reference block uses)

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


Tim Hosey
Tim Hosey 2016년 9월 26일
In R2015b a project referencing feature was added to the Simulink Project that allows a project to reference component projects.
The following link has more details on how this feature works. http://www.mathworks.com/help/simulink/ug/componentization-using-reference-projects.html

카테고리

Help CenterFile Exchange에서 Project Management에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by