8 lines
186 B
Matlab
8 lines
186 B
Matlab
function n = domainIndex(s, name)
|
|
% DOMAININDEX - Index of the domain with a specified name.
|
|
|
|
if isa(name, 'double')
|
|
n = name;
|
|
else
|
|
n = stack_methods(s.stack_id, 109, name);
|
|
end
|