필터 지우기
필터 지우기

Write cell (contains numbers and strings) to xls

조회 수: 2 (최근 30일)
Yvonne
Yvonne 2012년 6월 18일
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?

답변 (1개)

Walter Roberson
Walter Roberson 2012년 6월 18일
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.

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by