Develop MATLAB Model-View-Controller Apps

This repository contains the MATLAB code for the technical article "Developing MATLAB Apps Using the Model-View-Controller Pattern."
64 Downloads
Updated 13 Jun 2023

Developing MATLAB Apps Using the Model-View-Controller Pattern

View Develop MATLAB Model-View-Controller Apps on File Exchange Open in MATLAB Online

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

  1. Clone or fork the repository to get started. You may also download the repository content as .zip.
  2. Open the project by double-clicking on MVC.prj.
  3. Run the application using launchMVCApp.m in the code 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

MATLAB Central

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
Created with R2022a
Compatible with R2020b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.