LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
ldesGetField.m
1function v = ldesGetField(s, f, dflt)
2% V = LDESGETFIELD(S, F, DFLT)
3% Value of field F in struct S, or DFLT if S is not a struct or lacks F.
4% Shared helper for the fully JSON-mediated LDES wrapper methods.
5if isstruct(s) && isfield(s, f)
6 v = s.(f);
7else
8 v = dflt;
9end
10end
Definition Station.m:245