view 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
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'];