Mercurial > hg > ltpda
comparison m-toolbox/classes/@LTPDAworkbench/downloadPlist.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % DOWNLOADPLIST downloads the plist from the given block. | |
2 % | |
3 % CALL: pl = wb.downloadPlist(blockname) | |
4 % | |
5 % M Hewitson 13-11-08 | |
6 % | |
7 % $Id: downloadPlist.m,v 1.2 2010/08/06 19:10:49 ingo Exp $ | |
8 % | |
9 function pl = downloadPlist(wb, blockname) | |
10 | |
11 % get the block with this name | |
12 b = awtinvoke(wb.mp, 'getBlockByName', blockname); | |
13 | |
14 % Convert the plist to a java plist | |
15 pl = LTPDAworkbench.jpl2mpl(b.getPlist()); | |
16 | |
17 end |