There was an error while loading. Please reload this page.
1 parent 5cd3e39 commit 1790115Copy full SHA for 1790115
toolbox/+otp/+cr3bp/+presets/CircularEarthOrbit.m
@@ -12,9 +12,11 @@
12
% The radius of the orbit above Earth's surface in km.
13
14
p = inputParser();
15
- p.addParameter('OrbitalRadius', 6556, @isnumeric);
+ p.KeepUnmatched = true;
16
+ p.addParameter('OrbitalRadius', 340, @isnumeric);
17
p.parse(varargin{:});
18
results = p.Results;
19
+ varargin = [fieldnames(p.Unmatched), struct2cell(p.Unmatched)].';
20
21
equatorialRadius = 6378;
22
earthMoonDist = 385000;
0 commit comments