>> filum_test 22-Nov-2011 08:55:03 FILUM_TEST MATLAB version Test the FILUM library. TEST02 FILE_CHAR_COUNT counts the characters in a file. Examining file: "story.txt". Number of characters in file: 566 TEST03 FILE_COLUMN_COUNT counts the columns in a file. It is assumed that the file contains a number of lines, with each line containing the same number of words. The task is to determine the number of words in a line, that is, the number of "columns" of text. Examining the file "filum_prb_4by5.txt" Number of columns = 5 TEST06 FILE_EXIST is true if a file exists. Exist? FILE_NAME 1 filum_test.m 1 filum.html 0 rabbit.txt 0 make.money.fast TEST085 FILE_LINE_WIDTH counts the longest line in a file. Examining file: "story.txt". Longest line length: 52 TEST11 FILE_NAME_DEC decrements a string Input Output file???.dat (Empty output string. Quit loop!) file072.dat file071.dat file071.dat file070.dat file070.dat file069.dat 2cat9.dat 2cat8.dat 2cat8.dat 2cat7.dat 2cat7.dat 2cat6.dat fred99.txt fred98.txt fred98.txt fred97.txt fred97.txt fred96.txt TEST13 FILE_NAME_EXT_SWAP changes a file extension. Input Output FILE_NAME EXT FILE_NAME bob.for obj bob.obj bob.bob.bob txt bob.bob.txt bob. yak bob.yak bob ps bob .ps .oops eek .eek TEST14 FILE_NAME_INC increments a string Input Output file???.dat (Empty output string. Quit loop!) file072.dat file073.dat file073.dat file074.dat file074.dat file075.dat file075.dat file076.dat 2cat9.dat 3cat0.dat 3cat0.dat 3cat1.dat 3cat1.dat 3cat2.dat 3cat2.dat 3cat3.dat fred98.txt fred99.txt fred99.txt fred00.txt fred00.txt fred01.txt fred01.txt fred02.txt TEST15 FILE_NAME_INC "increments" a string. In this example, the string is a file name. The user is going to carry out several simulations. For each simulation, a consecutive series of file names is desired. Begin simulation 1 file_01_001.txt file_01_002.txt file_01_003.txt file_01_004.txt Begin simulation 2 file_02_001.txt file_02_002.txt file_02_003.txt file_02_004.txt Begin simulation 3 file_03_001.txt file_03_002.txt file_03_003.txt file_03_004.txt Begin simulation 4 file_04_001.txt file_04_002.txt file_04_003.txt file_04_004.txt Begin simulation 5 file_05_001.txt file_05_002.txt file_05_003.txt file_05_004.txt TEST165 FILE_NAME_INC_NOWRAP increments a string but does not allow "wrapping". Input Output file???.dat (Empty output string. Quit loop!) file072.dat file073.dat file073.dat file074.dat file074.dat file075.dat file075.dat file076.dat 2cat9.dat 3cat0.dat 3cat0.dat 3cat1.dat 3cat1.dat 3cat2.dat 3cat2.dat 3cat3.dat fred98.txt fred99.txt fred99.txt (Empty output string. Quit loop!) TEST17 FILE_PARA_COUNT counts the paragraphs in a file. Examining file: "story.txt". Number of paragraphs: 6 TEST22 FILE_ROW_COUNT counts the rows in a file. Examining the file "filum_prb_test.txt" Number of rows = 16 TEST225 FILE_SEQUENCE_SIZE "sizes" the files in a file sequence. Examining files in sequence starting with: "data_100.txt". Number of files: 3 Number of data items: 8 FILUM_TEST Normal end of execution. 22-Nov-2011 08:55:03 >>