annotate matlab/db/dbpath.m @ 19:256016cddcba

Moved to library(debug) for messages; more helpful message if foreign library fails to load.
author samer
date Thu, 09 Feb 2012 10:57:10 +0000
parents 0dd31a8c66bd
children
rev   line source
samer@0 1 function p=dbpath(loc)
samer@0 2 % dbpath - Return full path of matfile given locator.
samer@0 3 %
samer@0 4 % dbpath :: locator(A) -> path.
samer@0 5
samer@0 6 n=strfind(loc,'|');
samer@0 7 p=[fullfile(dbroot,loc(1:n-1)) '.mat'];
samer@0 8