view matlab/db/dbpath.m @ 3:9b16fbec2f33

Added installer for matlab scripts.
author samer
date Thu, 19 Jan 2012 14:04:55 +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'];