view matlab/db/dbpath.m @ 16:f2a0f5eaaaa5

Fixed a compiler warning.
author samer
date Sun, 05 Feb 2012 11:29: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'];