Mercurial > hg > ltpda
comparison m-toolbox/classes/@paramValue/getOptions.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 % GETOPTIONS returns the options array for this param value. | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: GETOPTIONS returns the options array for this param value. | |
5 % | |
6 % CALL: val = getOptions(paramValue); | |
7 % | |
8 % VERSION: $Id: getOptions.m,v 1.4 2011/02/18 16:48:53 ingo Exp $ | |
9 % | |
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
11 | |
12 function out = getOptions(pvin) | |
13 | |
14 if numel(pvin) ~= 1 | |
15 error('### This method works only with one paramValue object.'); | |
16 end | |
17 | |
18 out = pvin.options; | |
19 | |
20 end |