dblist — gives the content of a database
[l]=dblist(filein,arg1, ,argn)
filein = name of the database
argi=
- 'matlab' if the database is a matlab one
- a string of the type '***xxx****', '>xxx', 'xxx>' or '>xxx>;' to search data whose names contain the specified character 'xxx' either at a precise place (case of stars) or at any place (case of '>')
l = column vector containing the names of variables in the database
dblist(GROCERDIR+'/macros/grocer/db/datajpl.dat') //returns the content of James Le Sage database: //!westvirginia ! //! ! //!tennesse ! //! ! //!pennsyvlania ! //! ! //!ohio ! //! ! //!michigan ! //! ! //!kentucky ! //! ! //!indiana ! dblist(GROCERDIR+'/macros/grocer/db/datajpl.dat','>enn>') //returns the names in James Le Sage database that contain the string 'enn' in the middle of the name: //!tennesse ! //! ! //!pennsyvlania ! dblist(GROCERDIR+'/macros/grocer/db/datajpl.dat','*enn****') //returns the names in James Le Sage database that has exactly 8 characters and contain the string 'enn' from the second character until the fourth: //!tennesse !