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.
The demo scripts demo_mdepin.m and demo_mdepin_GUI.m show examples of how dependency injection can be used to create modular applications reusing components.
Mirrored to MATLAB Central File Exchange.
MATLAB® is a registered trademark of The MathWorks, Inc.