syntax to store char in mat file

3 views (last 30 days)
sir, please can anyone tell me what is the syntax to store char in mat-file

Accepted Answer

Thomas
Thomas on 30 May 2012
var_name='c' % saves the char 'c' in var_name
save('new.mat','var_name') % saves the variable 'var_name' in new.mat file

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!