How does code sharing work in MATLAB?
I have a small MATLAB project that I would like to use in many other MATLAB projects. And, I want to do this programmatically (as part of a build pipeline) instead of any sort of manual installation.
Typically, In Java world, for a similar situation, this is how it usually works:
I create a jar file out of this project that I want to share with other projects
I then push that jar file to a maven repository with a particular version as part of the build process (either hosted internally in an organization or an outside maven repository)
Other projects can then specify a particular version as a dependency for this jar in their pom.xml file and that is how the code gets available to them
What is the equivalent of workflow for above in MATLAB world?I have a small MATLAB project that I would like to use in many other MATLAB projects. And, I want to do this programmatically (as part of a build pipeline) instead of any sort of manual installation.
Typically, In Java world, for a similar situation, this is how it usually works:
I create a jar file out of this project that I want to share with other projects
I then push that jar file to a maven repository with a particular version as part of the build process (either hosted internally in an organization or an outside maven repository)
Other projects can then specify a particular version as a dependency for this jar in their pom.xml file and that is how the code gets available to them
What is the equivalent of workflow for above in MATLAB world? I have a small MATLAB project that I would like to use in many other MATLAB projects. And, I want to do this programmatically (as part of a build pipeline) instead of any sort of manual installation.
Typically, In Java world, for a similar situation, this is how it usually works:
I create a jar file out of this project that I want to share with other projects
I then push that jar file to a maven repository with a particular version as part of the build process (either hosted internally in an organization or an outside maven repository)
Other projects can then specify a particular version as a dependency for this jar in their pom.xml file and that is how the code gets available to them
What is the equivalent of workflow for above in MATLAB world? build artifact, share artifact, dependency management MATLAB Answers — New Questions