Linking projects together in Simulink project
15 views (last 30 days)
Show older comments
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?
0 Comments
Answers (2)
Christopher Berry
on 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!
Tim Hosey
on 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
0 Comments
See Also
Categories
Find more on Project Management in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!