Mercurial > hg > plml
view matlab/db/dbpath.m @ 14:e1f87438e34c
Work around for lock-up when used by triserver project. By god it's ugly but it seems to work.
author | samer |
---|---|
date | Thu, 02 Feb 2012 03:01:20 +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'];