Mercurial > hg > plml
diff matlab/db/dbread.m @ 0:0dd31a8c66bd
Initial check in to Mercurial, V.1
author | samer |
---|---|
date | Fri, 13 Jan 2012 15:29:02 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/matlab/db/dbread.m Fri Jan 13 15:29:02 2012 +0000 @@ -0,0 +1,10 @@ +% dbread - Load values from ASCII file under matbase tree. +% +% dbread :: string -> A. +% +% This looks for a file given a path relative to the current +% matbase root as returned by dbroot. It then attempts to +% read it as an ASCII file using READ. + +function x=dbread(file), x=read(fullfile(dbroot,file)); +