view matlab/db/dbpath.m @ 25:de95213cdcc2

swiplml now sets DYLD_FALLBACK_LIBRARY_PATH based on output of matlab -e
author samer
date Wed, 22 Feb 2012 21:36:34 +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'];