view m-toolbox/classes/@LTPDAworkbench/getwbh.m @ 30:317b5f447f3e
database-connection-manager
Update workspaceBrowser
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Mon, 05 Dec 2011 16:20:06 +0100 (2011-12-05)
parents
f0afece42f48
children
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