sparkle
sparkle

Reputation: 7398

Char in a single cell

DataSet='HS31';

xlswrite(soluzioni_filename, DataSet,'NumeroTagli',offset_dataset); 

But, when I see the xls generated, I get [H] [S] [3] [1] in different cells instead of HS31 in a single cell, which is what I am looking for.

Upvotes: 1

Views: 49

Answers (1)

Divakar
Divakar

Reputation: 221624

To write to a specific cell in excel file , send off the data as a cell array like this -

xlswrite(soluzioni_filename, {DataSet},'NumeroTagli',offset_dataset); 

Upvotes: 3

Related Questions