sravan2003_2003
September 13th, 2004, 09:33 AM
Hi all,
Can anyone explain me the concept of cell arrays in Matlab.
I have used the following statement for selecting multiple files
[FileName,PathName,FilterIndex] = uigetfile('*.*','Use Ctrl or Shift key to select multiple files:','multiselect','on')
FileName
I have seen the contents of FileName which is a cell array but i could not understand how these filenames are stored
FileName =
Columns 1 through 2
'2345-158-470_FILE' '2345-109-225_FILE'
Columns 3 through 4
'2345-110-230_FILE' '2345-111-235_FILE'
Columns 5 through 6
'2345-112-240_FILE' '2345-113-245_FILE'
Columns 7 through 8
'2345-114-250_FILE' '2345-115-255_FILE'
Columns 9 through 10
'2345-116-260_FILE' '2345-117-265_FILE'
Columns 11 through 12
'2345-118-270_FILE'
I want to store all these filenames in an array?Can anyone explain?
Thanks for your time and consideration.
Regards,
Sravan
Can anyone explain me the concept of cell arrays in Matlab.
I have used the following statement for selecting multiple files
[FileName,PathName,FilterIndex] = uigetfile('*.*','Use Ctrl or Shift key to select multiple files:','multiselect','on')
FileName
I have seen the contents of FileName which is a cell array but i could not understand how these filenames are stored
FileName =
Columns 1 through 2
'2345-158-470_FILE' '2345-109-225_FILE'
Columns 3 through 4
'2345-110-230_FILE' '2345-111-235_FILE'
Columns 5 through 6
'2345-112-240_FILE' '2345-113-245_FILE'
Columns 7 through 8
'2345-114-250_FILE' '2345-115-255_FILE'
Columns 9 through 10
'2345-116-260_FILE' '2345-117-265_FILE'
Columns 11 through 12
'2345-118-270_FILE'
I want to store all these filenames in an array?Can anyone explain?
Thanks for your time and consideration.
Regards,
Sravan