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:
write binary in text file to excel file

Subject: write binary in text file to excel file

From: Jess J

Date: 2 Feb, 2009 15:19:02

Message: 1 of 2

Hi all,
I have a few questions regarding writing binary in text file to excel file.

1. How do I specify so that there will 8bits in one cell?
2. When the front bits are zeros, the zeros will not be showed. Eg. 00110101 will be shown as 110101. How to make it take the zeros into account?

Thanks alot.

Best regards,
Jess

Subject: write binary in text file to excel file

From: vedenev

Date: 2 Feb, 2009 16:07:25

Message: 2 of 2

Try to use cell array of srings such as "00101". Then put this cell
array in xlswrite function.

------------------------------------
Maxim Vedenev, Matlab freelancer
vedenev@ngs.ru
http://simulations.narod.ru/

Tags for this Thread

No tags are associated with 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