Mercurial > hg > ltpda
annotate m-toolbox/classes/@LTPDAworkbench/getWS_VarName.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 % GETWS_VARNAME returns the variable name in the workspace for a specified block |
2 % | |
3 % CALL: wb.getWS_VarName(wb_ID, block, outputNumber) | |
4 % | |
5 % $Id: getWS_VarName.m,v 1.2 2010/08/23 14:01:20 hewitson Exp $ | |
6 % | |
7 function str = getWS_VarName(wb_ID, block, outputPortNumber) | |
8 | |
9 str = char(block.getVarName(outputPortNumber)); | |
10 | |
11 end |