Mercurial > hg > ltpda
annotate 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 |
rev | line source |
---|---|
0 | 1 % GETWBH searches for the specified workbench and returns a handle to it. |
2 % | |
3 function h = getwbh(wbname) | |
4 | |
5 h = []; | |
6 disp('### I don''t do anything at the moment.'); | |
7 | |
8 return; | |
9 | |
10 wbs = getappdata(0,'ltpda_workbenches'); | |
11 for j=1:numel(wbs) | |
12 wb = wbs(j); | |
13 if strcmp(wb.mp.getTitle(), wbname) | |
14 h = wb; | |
15 end | |
16 end | |
17 | |
18 end |