MATLAB Dependency Injection
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 (2024). MATLAB Dependency Injection (https://github.com/mattmcd/mdepin), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Software Development Tools >
- MATLAB > Environment and Settings > Startup and Shutdown >
- MATLAB > App Building > Develop Apps Programmatically >
Tags
Acknowledgements
Inspired: MATLAB Derivatives Pricing
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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 |
|