Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 848 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 848 Bytes

MATLAB Dependency Injection

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.