Mercurial > hg > ltpda
diff m-toolbox/classes/@LTPDAworkbench/getwbh.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/classes/@LTPDAworkbench/getwbh.m Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,18 @@ +% 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