Skip to content

suever/matlab-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

MATLAB Plugins

A simple framework for creating plugins in MATLAB to work with your application.

Overview

To start using the library, you'll want to define your own custom subclass of plugins.BasePlugin that implements behavior specific to your application

classdef MyPlugin < plugins.BasePlugin

Then anyone who would like to create a plugin for your application should subclass plugins.MyPlugin. Then from within your application, you can gather all user-supplied plugins using the plugins.PluginManager

allplugins = plugins.PluginManager('plugins.MyPlugin')

If you have a GUI application, you can also add a menu item for users to select the plugin to run. Additionally, the menu will include items to manage plugins (updates, info, etc.) and reload all plugins from disk.

hmenu = plugins.PluginMenu(allplugins)

Additional Information

To make creating plugins easier for your users and ensure that they have all the necessary metadata, there is a cookiecutter project.

Attribution

Copyright (c) <2017> Jonathan Suever.
All rights reserved

This software is licensed under the MIT license

Releases

No releases published

Packages

No packages published