Linking projects together in Simulink project

6 ビュー (過去 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 Center および File ExchangeProject Management についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by