%% Mesh Square Ring Shape
%  Create a square ring with with the inner side length of 5 m and a width of 2 m.

ring = ringSquare(InnerSide=5,Width=2)
show(ring)

%
% Mesh the square ring at a maximum edge length of 1 m.

mesh(ring,MaxEdgeLength=1)

% Copyright 2020 The MathWorks, Inc.