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.
The MATT application is started from within MATLAB.
After MATT has been properly installed:
(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.
Joel Henry (2021). MATT (https://www.mathworks.com/matlabcentral/fileexchange/1609-matt), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!