syntax to store char in mat file

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

 Réponse acceptée

Thomas
Thomas le 30 Mai 2012

0 votes

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

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by