what is the use of .mat file?

2 次查看(过去 30 天)
sheno39
sheno39 2013-9-19
.mat file representation

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-9-19
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

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by