MATLAB Dependency Injection
Version 1.0.0.0 (19 KB) by
Matt McDonnell
A dependency injection framework for MATLAB.
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 .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Software Development Tools >
- MATLAB > Environment and Settings > Startup and Shutdown >
- MATLAB > App Building > Develop Apps Programmatically >
Find more on Software Development Tools in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: MATLAB Derivatives Pricing
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
+mdepin
+mdepin/+demo
+mdepin/+test/+accept
+mdepin/+test/+mock
+mdepin/+test/+unit
+mdepin/+util
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 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.
