MATLAB Dependency Injection

A dependency injection framework for MATLAB.

https://github.com/mattmcd/mdepin

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

A dependency injection framework for MATLAB.
This is loosely based on Martin Fowler's dependency injection article and Spring.

Components are set up using constructor injection. This requires each component to inherit from mdepin.Bean and have publicly settable properties for the injected services.

Cite As

Matt McDonnell (2026). MATLAB Dependency Injection (https://github.com/mattmcd/mdepin), GitHub. Retrieved .

Acknowledgements

Inspired: MATLAB Derivatives Pricing

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.