annotate matlab/db/dbpath.m @ 37:89688ebc447f tip

Deprecating this repository.
author samer
date Mon, 05 Jan 2015 17:42:03 +0000
parents 0dd31a8c66bd
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