Write cell (contains numbers and strings) to xls
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have the following 2 cell array.
SubName - contains string
Movement - contains numbers.
i combine them using this,
combine = [Subname,Movement];
combine is also a cell array.
i Write it to xls, using this:
xlswrite('test.xls',combine);
the error show: The input cell array cannot be converted to a matrix.
Anyone know what I can do to write my cell combine (contains string and numbers) to xls?
0 commentaires
Réponses (1)
Walter Roberson
le 18 Juin 2012
Which OS are you using, and if you are using Windows then do you have Excel installed? Which MATLAB version are you using?
If you are not using R2012a, and are not using MS Windows with Excel installed, then you can only write numeric data if I recall correctly.
0 commentaires
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!