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:
Read file from multiples .dat files and choose only one point from each file

Subject: Read file from multiples .dat files and choose only one point from each file

From: Siti Harwani

Date: 18 Apr, 2014 04:56:07

Message: 1 of 2

Hi all. I have 1200 .dat files containing x,y,z . What I need to do is to open all the files and choose only one single point from all the files, in example point (x120,y120,z120) from all 1200 .dat file and save it into new .dat file. Can anyone teach me how to do that?

thank you

Subject: Read file from multiples .dat files and choose only one point from each file

From: Steven Lord

Date: 18 Apr, 2014 14:00:47

Message: 2 of 2


"Siti Harwani " <aeharwani@usm.my> wrote in message
news:liqb97$98g$1@newscl01ah.mathworks.com...
> Hi all. I have 1200 .dat files containing x,y,z . What I need to do is to
> open all the files and choose only one single point from all the files, in
> example point (x120,y120,z120) from all 1200 .dat file and save it into
> new .dat file. Can anyone teach me how to do that?

See question 2 in the Programming section of the FAQ.

http://matlab.wikia.com/wiki/FAQ

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

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