Skip to content

mattmcd/mdepin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

MATLAB Dependency Injection

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages