Expanded mat2str() functionality
Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
Extended mat2str functionality for Matlab.
It would be nice if mat2str worked on more types and shapes than just 2-D numeric and string matrices.
The jl-mat2str2 library provides extended mat2str functionality for Matlab in the form of a mat2str2 function. Whereas Matlab’s mat2str only works on numerics, strings, and chars, mat2str2 also supports cell, datetime, and table arrays. It also supports matrices with more than 2 dimensions.
mat2str2 is an extension to the mat2str interface, and is back-compatible with it. If MathWorks wanted to, I think they could just roll this functionality into mat2str, and it would work fine.
## Installation
Copy the jl-mat2str2 distribution somewhere on your disk, and add its Mcode/ directory to your Matlab path.
## Usage
Call mat2str2 on your arrays, just as you would with mat2str. See doc mat2str for more info.
## Project
jl-mat2str2 is written by Andrew Janke (https://apjanke.net).
The project lives on GitHub at <https://github.com/apjanke/jl-mat2str2>.
jl-mat2str2 is part of the Janklab suite of Matlab libraries.
Citation pour cette source
Andrew Janke (2026). jl-mat2str2 (https://fr.mathworks.com/matlabcentral/fileexchange/71442-jl-mat2str2), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.0 (3,66 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0 |
