what is the use of .mat file?

6 ビュー (過去 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 Center および File ExchangeWorkspace 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