The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: How to see the order of the files
Replies: 1   Last Post: Jun 8, 2013 5:11 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Derek Goring

Posts: 3,922
Registered: 12/7/04
Re: How to see the order of the files
Posted: Jun 8, 2013 5:11 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Saturday, June 8, 2013 11:26:08 PM UTC+12, Yan wrote:
> Hi,
> I loaded a list of 36 text files into one matlab file.
> However, I forgot how to check the order of the cell array, could someone re-activate my lost memory?
> Say, the new .mat file that has all my text files is called "week.mat", what could be my magic punch line to let the original file names and orders show up?
> Thanks a ton!
> Y

What do you mean by "order"?
You seem to use it in two different senses.
First, you imply you want to get the sequence of file names, but later you say you want the "orders", which implies you want the exponents, which makes no sense to me.
But perhaps all you are looking for is:
which will generate a structure s containing whatever you've put in the .mat file.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.