My recommendation would be to do the following
function SaveMassScaleButtonPushed(app, event)
ms1 = app.ms1;
b1_1 = app.b1_1;
m1_1 = app.m1_1;
m2_1 = app.m2_1;
b2_1 = app.b2_1;
save('descaling_app.mat','ms1','b1_1','m1_1','m2_1','b2_1')
end