view 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
line wrap: on
line source
function p=dbpath(loc)
% dbpath - Return full path of matfile given locator.
%
% dbpath :: locator(A) -> path.

	n=strfind(loc,'|');
	p=[fullfile(dbroot,loc(1:n-1)) '.mat'];