diff --git a/code/types/latest/+openminds/+sands/+mathematicalshape/Frustum.m b/code/types/latest/+openminds/+sands/+mathematicalshape/Frustum.m index 5a081f39..1d3828b7 100644 --- a/code/types/latest/+openminds/+sands/+mathematicalshape/Frustum.m +++ b/code/types/latest/+openminds/+sands/+mathematicalshape/Frustum.m @@ -9,7 +9,7 @@ % majorBaseShape : (1,1) Circle, CircularSector, Ellipse, EquilateralTriangle, IsoscelesTriangle, Kite, Parallelogram, Rectangle, RegularPolygon, Rhombus, RightTriangle, Square, Trapezoid, Triangle % Enter the major two-dimensional base shape of this frustum. % -% minorBaseScale : (1,1) double +% minorBaseScale : (1,:) double % Enter the ratio of the smaller to the larger base size of this frustum. % This class was auto-generated by the openMINDS pipeline @@ -24,8 +24,8 @@ {mustBeScalarOrEmpty(majorBaseShape)} % Enter the ratio of the smaller to the larger base size of this frustum. - minorBaseScale (1,1) double ... - {mustBeGreaterThan(minorBaseScale, 0), mustBeLessThan(minorBaseScale, 1)} + minorBaseScale (1,:) double ... + {mustBeScalarOrEmpty(minorBaseScale), mustBeGreaterThan(minorBaseScale, 0), mustBeLessThan(minorBaseScale, 1)} end properties (Access = protected) diff --git a/code/types/v5.0/+openminds/+sands/+mathematicalshape/Frustum.m b/code/types/v5.0/+openminds/+sands/+mathematicalshape/Frustum.m index 5a081f39..1d3828b7 100644 --- a/code/types/v5.0/+openminds/+sands/+mathematicalshape/Frustum.m +++ b/code/types/v5.0/+openminds/+sands/+mathematicalshape/Frustum.m @@ -9,7 +9,7 @@ % majorBaseShape : (1,1) Circle, CircularSector, Ellipse, EquilateralTriangle, IsoscelesTriangle, Kite, Parallelogram, Rectangle, RegularPolygon, Rhombus, RightTriangle, Square, Trapezoid, Triangle % Enter the major two-dimensional base shape of this frustum. % -% minorBaseScale : (1,1) double +% minorBaseScale : (1,:) double % Enter the ratio of the smaller to the larger base size of this frustum. % This class was auto-generated by the openMINDS pipeline @@ -24,8 +24,8 @@ {mustBeScalarOrEmpty(majorBaseShape)} % Enter the ratio of the smaller to the larger base size of this frustum. - minorBaseScale (1,1) double ... - {mustBeGreaterThan(minorBaseScale, 0), mustBeLessThan(minorBaseScale, 1)} + minorBaseScale (1,:) double ... + {mustBeScalarOrEmpty(minorBaseScale), mustBeGreaterThan(minorBaseScale, 0), mustBeLessThan(minorBaseScale, 1)} end properties (Access = protected)