Setting axis labels for uifigures (ie, in app designer) is the same process as setting axis labels in regular figures. The only difference is that you must specify the axis handle in UIFigures since the HandleVisibility property of uifigures is off by default. It's also encouraged to do this in regular figures but not required if you're working with the current axes.
xlabel(app.UIAxes, app.S{1})