Linking projects together in Simulink project

7 Ansichten (letzte 30 Tage)
Mikael Sahlin
Mikael Sahlin am 29 Aug. 2014
Beantwortet: Tim Hosey am 26 Sep. 2016
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?

Antworten (2)

Christopher Berry
Christopher Berry am 30 Aug. 2014
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 Kommentar
Mikael Sahlin
Mikael Sahlin am 22 Sep. 2014
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)

Melden Sie sich an, um zu kommentieren.


Tim Hosey
Tim Hosey am 26 Sep. 2016
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

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by