MATT allows dynamic simulation of Simulink Systems and Subsystems.
Updated 17 Jan 2005

No License

What Is MATT?

MATT is an application that provides enhanced test generation capability for users of the MathWorks products, MATLAB and Simulink. The ability to rapidly create custom test data for running model simulations is an important time saver that frees the user from the pains of developing a variety of test data, needed for model testing and simulation.

How MATT Operates:

MATT uses information it obtains from MATLAB and Simulink to create a set of data that describes the Inports for a specific System or SubSystem. With a series of point and click selections, users may set the Test Data for each Inport and adjust parameters for Accuracy, Constant, and Minimum/Maximum values. Once adjustments are complete these settings may be saved in a MATT file format known as a Test Script. Test Scripts may be recalled and used again for later test generation. Once each Inport has been set up for a particular Test Type, the user may then generate the Test Data Matrix. The Test Data Matrix may then be returned to MATLAB for simulation or it may be saved and used at a later time. A comma separated value file (CSV) format may also be saved and directly imported into Microsoft Excel. MATT is easy to use since it consists of a single main screen, which helps to simplify the user interface. The MATT screen brings all of the options and features of MATT together in a user-friendly, Graphical User Interface. Its simple menus and tab controls allow users to rapidly review and generate test matrices for block components of a Simulink model. The multi-tabbed pages within the main screen allow the user to focus attention on a particular area of MATT. There are other minor dialog screens provided for confirming selections, or loading/saving data, etc.

Starting MATT:

The MATT application is started from within MATLAB.
After MATT has been properly installed:
Launch MATLAB.
(A) Launch MATLAB.
(B) Change MATLAB's current directory
to the MATT root directory.
(C) Type 'matt_rtw_fix' on the MATLAB
command-line and press 'Enter' -- This will apply a fix so RTW will
work with MATT.
(D) Type 'matt('<Simulink_model>')' on
the MATLAB command-line and press
'Enter' -- This will load
<Simulink_model> into MATT.
(E) After you are done using MATT, type
'matt_undo_rtw_fix' on the MATLAB
command-line and press 'Enter' --
This will undo the RTW fix.

NOTE: A Simulink System must contain at least one Inport and one Outport to be properly loaded into MATT.

Cite As

Joel Henry (2024). MATT (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Modeling in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

MATT RTW FIX section added to improve MATT's functionality.
Now includes .Net framework 1.0 install.