comparison matlab/db/dbpath.m @ 0:0dd31a8c66bd

Initial check in to Mercurial, V.1
author samer
date Fri, 13 Jan 2012 15:29:02 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:0dd31a8c66bd
1 function p=dbpath(loc)
2 % dbpath - Return full path of matfile given locator.
3 %
4 % dbpath :: locator(A) -> path.
5
6 n=strfind(loc,'|');
7 p=[fullfile(dbroot,loc(1:n-1)) '.mat'];
8