Develop MATLAB Model-View-Controller Apps
Developing MATLAB Apps Using the Model-View-Controller Pattern
This repository contains the MATLAB® code for the technical article Developing MATLAB Apps Using the Model-View-Controller (MVC) Pattern. The article provides a step-by-step guide for building a small MVC application. You can inspect the source code and modify it to suit your own application needs.
Developing an application using MVC can help address the following common development concerns when creating large-scale applications:
- Best practices and guidelines for structuring the code base to allow future growth.
- Using a combination of functional and object-oriented programming.
- Working effectively with MATLAB® graphics and user-interface control objects.
- Enabling collaboration within a team by separating the application into components, which are developed and tested simultaneously.
To learn more about developing applications using MATLAB®, check out the training courses Building Interactive Applications in MATLAB® and Advanced MATLAB® Application Development.
Installation and Getting Started
- Clone or fork the repository to get started. You may also download the repository content as .zip.
- Open the project by double-clicking on
MVC.prj
. - Run the application using
launchMVCApp.m
in thecode
folder.
MathWorks Product Requirements
Requires MATLAB release R2020b or later.
License
The license is available in the license.txt file in this GitHub repository.
Community Support
Copyright 2022 The MathWorks, Inc.
Cite As
Laura Dempsey (2024). Develop MATLAB Model-View-Controller Apps (https://github.com/mathworks/matlab-model-view-controller/releases/tag/v1.0.2), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
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.
code
Version | Published | Release Notes | |
---|---|---|---|
1.0.2.0 | See release notes for this release on GitHub: https://github.com/mathworks/matlab-model-view-controller/releases/tag/v1.0.2 |
||
1.0.1 | See release notes for this release on GitHub: https://github.com/mathworks/matlab-model-view-controller/releases/tag/v1.0.1 |
||
1.0.0 |