Mercurial > hg > ltpda
view m-toolbox/classes/@LTPDAworkbench/getwbh.m @ 51:9d5c88356247 database-connection-manager
Make unit tests database connection parameters configurable
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:24:37 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% GETWBH searches for the specified workbench and returns a handle to it. % function h = getwbh(wbname) h = []; disp('### I don''t do anything at the moment.'); return; wbs = getappdata(0,'ltpda_workbenches'); for j=1:numel(wbs) wb = wbs(j); if strcmp(wb.mp.getTitle(), wbname) h = wb; end end end