what is the use of .mat file?

조회 수: 3 (최근 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