Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:

Subject: xlswrite

From: dhuan Du

Date: 1 Oct, 2010 15:18:04

Message: 1 of 2

Hi friends:

I used the following commend to write a string 'alpha/beta' to excel. However, I found this string is sperated into individual letters in excel and each letter is wrritten in one cell of excel. Is there way I can write the string in one cell of excel?

xlswrite('myfile.xlsx', 'alpha/beta','try','A1');


Subject: xlswrite

From: ImageAnalyst

Date: 1 Oct, 2010 16:09:43

Message: 2 of 2

dhuan Du:
Wrap strings in braces to get them to show up in a single cell in the
xlswrite('myfile.xlsx', {'alpha/beta'},'try','A1')

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us