annotate 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
rev   line source
samer@0 1 function p=dbpath(loc)
samer@0 2 % dbpath - Return full path of matfile given locator.
samer@0 3 %
samer@0 4 % dbpath :: locator(A) -> path.
samer@0 5
samer@0 6 n=strfind(loc,'|');
samer@0 7 p=[fullfile(dbroot,loc(1:n-1)) '.mat'];
samer@0 8