view matlab/db/dbpath.m @ 1:4d183f2855c2

Fixed version number in header
author samer
date Fri, 13 Jan 2012 15:32:54 +0000
parents 0dd31a8c66bd
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'];