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:
Load multiple .txt files in one script

Subject: Load multiple .txt files in one script

From: Pete

Date: 6 Feb, 2013 16:56:08

Message: 1 of 4

Hi,
I have multiple .txt files which i would like to load into MATLAB and run through the same script. Is it somehow possible to load each of these files into the same MATLAB script and run for each file giving separate results for each file??
Any help would be great thanks!

Subject: Load multiple .txt files in one script

From: dpb

Date: 6 Feb, 2013 17:29:53

Message: 2 of 4

On 2/6/2013 10:56 AM, Pete wrote:
> Hi,
> I have multiple .txt files which i would like to load into MATLAB and
> run through the same script. Is it somehow possible to load each of
> these files into the same MATLAB script and run for each file giving
> separate results for each file??
> Any help would be great thanks!

doc dir

--

Subject: Load multiple .txt files in one script

From: anyone

Date: 6 Feb, 2013 22:01:43

Message: 3 of 4

On Wed, 06 Feb 2013 16:56:08 +0000, Pete wrote:

> Hi,
> I have multiple .txt files which i would like to load into MATLAB and
> run through the same script. Is it somehow possible to load each of
> these files into the same MATLAB script and run for each file giving
> separate results for each file??

yes.

> Any help would be great thanks!

you're welcome.

Subject: Load multiple .txt files in one script

From: Steven_Lord

Date: 7 Feb, 2013 14:58:53

Message: 4 of 4



"Pete " <harri.short@hotmail.com> wrote in message
news:keu1v8$4pg$1@newscl01ah.mathworks.com...
> Hi,
> I have multiple .txt files which i would like to load into MATLAB and run
> through the same script. Is it somehow possible to load each of these
> files into the same MATLAB script and run for each file giving separate
> results for each file??
> Any help would be great thanks!

See question 12 in the Programming section of the newsgroup 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

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