Matrix Library for Simulink
Version 1.2 (JASP) 19-Jul-2009
A set of blocks for manipulating 3x3 and 4x4 matrices. In versions of Simulink prior to R12, matrices were handled in row-major form, thus the need for special blocks to handle matrices. Although Simulink can now handle arrays as signals, some users may still find the row-major approach useful.
There are two MATLAB functions provided to help manipulate the inputs and outputs of any Simulink model that uses the Matrix Library. These are:
rm2mat - row major form to an array of 2-dim matrices
mat2rm - array of 2-dim matrices to row major form
Cite As
Jay St. Pierre (2024). Matrix Library for Simulink (https://www.mathworks.com/matlabcentral/fileexchange/255-matrix-library-for-simulink), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.