[go: up one dir, main page]

Skip to content

OmidS/PackManSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MATLAB package management example

This project serves as an example for dependency management in MATLAB. It uses PackMan (which is based on DepMat by Tom Doel, https://github.com/tomdoel/depmat) to fetch packages from git (e.g. from github).

Quick Start

To start a new project that depends on other repos, you can:

  1. Clone of this repo to use it as the starting point for your project by running:
>> !git clone https://github.com/OmidS/PackManSample.git MyProject
  1. Go into the project directory:
>> cd MyProject
  1. Modify getDepList.m to reflect your list of dependencies.

  2. Any time you want to install or update the dependencies, call installDeps:

>> installDeps
  1. If you need to add more dependencies, repeat 3 and 4.

  2. Before running your code (e.g. in a main.m script), to add dependencies to the MATLAB path, use the Package Manager object as follows:

>> pm = installDeps;
>> addpath(pm.genPath());

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages