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;
4 Comments
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/660038-app-designer-how-to-make-button-display-answers-in-different-numeric-fields-depending-on-the-clicks#comment_1156468
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/660038-app-designer-how-to-make-button-display-answers-in-different-numeric-fields-depending-on-the-clicks#comment_1156468
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/660038-app-designer-how-to-make-button-display-answers-in-different-numeric-fields-depending-on-the-clicks#comment_1156533
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/660038-app-designer-how-to-make-button-display-answers-in-different-numeric-fields-depending-on-the-clicks#comment_1156533
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/660038-app-designer-how-to-make-button-display-answers-in-different-numeric-fields-depending-on-the-clicks#comment_1156763
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/660038-app-designer-how-to-make-button-display-answers-in-different-numeric-fields-depending-on-the-clicks#comment_1156763
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/660038-app-designer-how-to-make-button-display-answers-in-different-numeric-fields-depending-on-the-clicks#comment_1156853
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/660038-app-designer-how-to-make-button-display-answers-in-different-numeric-fields-depending-on-the-clicks#comment_1156853
Sign in to comment.