what is the use of .mat file?

6 vues (au cours des 30 derniers jours)
sheno39
sheno39 le 19 Sep 2013
.mat file representation

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 19 Sep 2013
A mat file is a Matlab binary file with extension .mat. For example:
A=[1 2;3 4];
B=10;
C='word'
save filename A B C % save the variables A,B and C in a file filename.mat
load filename ; % load your data A,B and C from filename.mat

Catégories

En savoir plus sur Workspace Variables and MAT Files dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by