syntax to store char in mat file

3 次查看(过去 30 天)
sir, please can anyone tell me what is the syntax to store char in mat-file

采纳的回答

Thomas
Thomas 2012-5-30
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 个)

类别

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