Prev: Missing Value Imputation
Next: loading matrix problem
From: iris on 10 Jun 2010 05:12 hii, I try to write a word to xlm file with this code: xlsfile = 'C:\shadow\eli project\imageStatistics.xls'; xlsLocation = sprintf('M%d', imageNum+1); Lanswer = input('Curvature of the surface Curvature / Flat / Both ?', 's'); Manswer = input('Number of different surface ?'); answer = [Lanswer Manswer]; xlswrite(xlsfile, answer, 1, xlsLocation); The result is one letter in every cell.
From: Sadik on 10 Jun 2010 07:58 Hi Iris, You will need to convert it to a cell. Right before the xlswrite line, you could say: answer = {answer}; I haven't tried but this should work. Best.
|
Pages: 1 Prev: Missing Value Imputation Next: loading matrix problem |