LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
getStruct.m
1function sn = getStruct(self, wantInitialState)
2% QN = GETSTRUCT(WANTINITSTATE)
3
4if ~self.hasStruct
5 refreshStruct(self);
6end
7
8if nargin == 1 || wantInitialState
9 [self.sn.state, self.sn.stateprior, self.sn.space] = self.getState;
10end
11
12sn = self.sn;
13
14end