annotate matlab/db/dbpath.m @ 6:d3b9cbaee77b

Added Makefile to install Matlab components.
author samer
date Thu, 19 Jan 2012 14:28:39 +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