function RollValueChanged(app, event)
FirstValue= randi([1, 10],1,1);
app.FirstText.Value= FirstValue;
SecondValue= randi([1, 10],1,1);
app.SecondText.Value= SecondValue;
ThirdValue= randi([1, 10],1,1);
app.ThirdText.Value= ThirdValue;
FourthValue= randi([1, 10],1,1);
app.FourthText.Value= FourthValue;