Model Error Compensator (MEC) for Add Robustness for System

Visual demonstration tool for Model Error Compensator (MEC) effectiveness under model uncertainties.
8 Downloads
Updated 30 Dec 2025

View License

Visual demonstration tool for Model Error Compensator (MEC) effectiveness under model uncertainties. This animation generator compares closed-loop system performance with and without MEC across multiple reference signals (step, square wave, sine wave) and randomly varied plant parameters.
The tool simulates 10 plants with randomized model errors and generates side-by-side animated comparisons showing how MEC suppresses deviation from nominal model behavior. High-quality MP4 animations and snapshot images are automatically created, displaying time-domain responses, performance metrics, and quantified error reduction percentages.
Perfect for educational demonstrations, research presentations, and understanding MEC robustness principles without complex design procedures. The simple structure with fixed controller and error compensator parameters makes it accessible for students and practitioners to immediately visualize MEC benefits.
Based on research by Okajima et al. (SICE JCMSI 2013, IFAC 2023). Generates publication-ready animations demonstrating average error reduction across different operating conditions. Compatible with MATLAB R2016b and later. Requires Control System Toolbox.
English
Japanese
Journal articles (domestic)

Cite As

Hiroshi Okajima (2026). Model Error Compensator (MEC) for Add Robustness for System (https://uk.mathworks.com/matlabcentral/fileexchange/182944-model-error-compensator-mec-for-add-robustness-for-system), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.1

Modify explanation

1.0.0