syntax to store char in mat file

sir, please can anyone tell me what is the syntax to store char in mat-file

 採用された回答

Thomas
Thomas 2012 年 5 月 30 日

0 投票

var_name='c' % saves the char 'c' in var_name
save('new.mat','var_name') % saves the variable 'var_name' in new.mat file

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by