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
This function takes a variable name, collects its contents from the base workspace and outputs (to the clipboard and the variable OutputCharMatrix) the m-code necessary for MATLAB to re-create the variable, including the variable name.
This is useful for including matrices of constants in m-files.
Accepts full or sparse matrices of real or complex numeric values.
For small 2D matrices, try mat2str instead.
Example:
a=rand(3,3,3);
Matrix2M('a')
Citation pour cette source
Thorwald van Vuure (2026). Matrix2M (https://fr.mathworks.com/matlabcentral/fileexchange/8933-matrix2m), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.0.0 (1,42 ko)
-
Aucune licence
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.0 |
