time | Calls | line |
---|
| | 168 | function c = checkAlias(obj,c)
|
| | 169 | % If a parameter has an alias, replace it with the correct name
|
| | 170 | % This combines the alias lists of all the elements into one list.
|
| | 171 | % If two interfaces define the same alias value, only the first one
|
| | 172 | % will be used.
|
| | 173 | % Aliases are case insensitive, but not partial matched.
|
< 0.001 | 2 | 174 | aliases = obj.Aliases;
|
< 0.001 | 2 | 175 | for kk = 1:numel(aliases)
|
< 0.001 | 10 | 176 | if any(strcmpi(c,aliases{kk}(2:end)))
|
| | 177 | c = aliases{kk}(1);
|
| | 178 | return
|
< 0.001 | 10 | 179 | end
|
< 0.001 | 10 | 180 | end
|
< 0.001 | 2 | 181 | end
|
Other subfunctions in this file are not included in this listing.