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:
Help Reading file into Array

Subject: Help Reading file into Array

From: azariah

Date: 23 Sep, 2009 13:48:20

Message: 1 of 3

Please how can I read a file into an array. Any form of help is welcome.
thank you.

Subject: Help Reading file into Array

From: Dave Brackett

Date: 30 Sep, 2009 07:04:03

Message: 2 of 3

"azariah " <emmazariah@hotmail.com> wrote in message <h9d8v4$bs3$1@fred.mathworks.com>...
> Please how can I read a file into an array. Any form of help is welcome.
> thank you.

what sort of file? text file? help textread/textscan
image? help imread
excel file? help xlsread
etc.

Subject: Help Reading file into Array

From: azariah

Date: 25 Oct, 2009 02:40:19

Message: 3 of 3

Im trying to read a .dat file into an array. i tried fline which read teh file but could not put the vectors into array.
"Dave Brackett" <davebrackett@hotmail.com> wrote in message <h9uvt3$7cj$1@fred.mathworks.com>...
> "azariah " <emmazariah@hotmail.com> wrote in message <h9d8v4$bs3$1@fred.mathworks.com>...
> > Please how can I read a file into an array. Any form of help is welcome.
> > thank you.
>
> what sort of file? text file? help textread/textscan
> image? help imread
> excel file? help xlsread
> etc.

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