LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
getIndexSourceStation.m
1function sourceidx = getIndexSourceStation(self)
2% INDEX = GETINDEXSOURCESTATION()
3
4% Copyright (c) 2012-2026, Imperial College London
5% All rights reserved.
6if isempty(self.sourceidx)
7% if hasOpenClasses(self) % not ok for fork mmt
8 self.sourceidx = find(cellisa(self.stations,'Source'));
9% end
10end
11sourceidx = self.sourceidx;
12end