What is the best practice for managing dependencies in a Simulink project when the project is working in a team and the project has dependencies on different models and libraries?
A parallel example would be creating an application using Gradle and declaring project dependencies, including the required version numbers. Grade will solve and download the versions needed to create the project.
eg. the following declares a dependency on version 2.1 library
and version 1.0 up on some-library
, so the latest version 1.x (1.0, 1.1, 1.2 ...) will be available and used.
dependencies { compile("com.example:library:2.1") compile("com.example:some-library:1.+") }
The documentation for Simulink (and also here, covering manifests ) seems to be talking about models in a project that has version numbers. He does not seem to mention the libraries that are imported into the project. Models that are used only within the framework of one project can be included in the general project, but what happens if there are (for example) common S-functions defined in a separate project or library (or library defined in the project) that are applicable after several projects? This requirement is to help support the automatic build process initiated by a continuous integration server such as Jenkins.
I'm interested in a workflow that will easily support dependency management and automatic dependency resolution using the Github Flow git policy.
source share