Looktxt 1.0.8

Looktxt project allows you to search and export numerics from any text/ascii file.
Looktxt project allows you to search and export numerics from any text/ascii file. Data sets (scalar, vector, matrix) are given unique names, based on file content. Results can be generated for Matlab, IDL, Scilab, Octave, XML, HTML A wrapper exists for direct usage from Matlab.

Example: ./looktxt.x86 -f Matlab -c -s PARAM -s DATA filename

Main Options are:

--binary or -b Stores numerical matrices into an additional binary
float file, which makes further import much faster.
--catenate or -c Catenates similar numerical fields
--force or -F Overwrites existing files
--format=FORMAT Sets the output format for generated files. See below
-f FORMAT
--fortran --wrapped Catenates single Fortran-style output lines with
previous matrices
--headers or -H Extracts headers for each numerical field
--help or -h Show this help
--section=SEC Classifies fields into section matching word SEC
-s SEC
--metadata=META Extracts lines containing word META as user meta data
-m META

Other Options are:

--append Append to existing files. This also sets --force
--fast Uses a faster reading method, requiring numerics
to be separated by ntrfv and spaces only
--makerows=NAME All fields matching NAME are transformed into row vectors
--names_lower Converts all names into lower characters
--names_upper Converts all names into upper characters
--names_length=LEN Sets the maximum length to use for names (32)
--names_root=ROOT Sets the base name for structures to ROOT
Default is to use the output file name
Use --names_root=NULL or 0 not to use root level.
--nelements_min=MIN Only extracts numericals with at least MIN elements
--nelements_max=MAX Only extracts numericals with at most MAX elements
--outfile=FILE Sets output file name. Extension, if missing, is added
-o FILE depending on the FORMAT. FILE may be stdout or stderr
--struct=CHAR Will use CHAR as struct builder. Default is '.'
Use --struct=NULL or 0 not to use structures.
Alternatively you may use '_'.
--verbose or -v Displays analysis information
--silent Silent mode. Only displays errors/warnings
--comment=COM Sets comment characters (ignore line if at start)
--eol=EOL Sets end-of-line characters
--point=PNT Sets numerical point characters
--separator=SEP Sets word seperators (handled as spaces)

Available output formats are (default is Matlab): "Matlab" "Scilab" "IDL" "XML" "HTML" "Octave" "Raw". Adding 'binary' to the FORMAT name will do the same as --binary. The LOOKTXT_FORMAT environment variable may set the default FORMAT to use.

last updated on:
September 30th, 2009, 10:12 GMT
price:
FREE!
developed by:
FARHI Emmanuel
homepage:
looktxt.sourceforge.net
license type:
GPL (GNU General Public License) 
category:
ROOT \ Science

FREE!

In a hurry? Add it to your Download Basket!

user rating 16

2.6/5
 

0/5

2 Screenshots
LooktxtLooktxt
What's New in This Release:
  • This version has full MeX support and imports faster into Matlab. Still works for other formats.
read full changelog

Add your review!

SUBMIT