(MATLAB) Make a script called hw6q1.m that does thefollowing: a) Creates pop-up windows that ask the

(MATLAB) Make a script called hw6q1.m that does thefollowing: a) Creates pop-up windows that ask the user for their name andage. b) Checks to make sure that the user’s age is between 10 and120. If their given age is in this range, the script should proceedto part (c). If it is not, make a warning message pop up that says either:“You must be at least 10 years old.” or “If you’re really over 120years old, more power to you… but I don’t quite believe you.” ––depending on which response is appropriate. (Then the code shouldreturn to part (a), i.e., asks the user again to enter their nameand age… keep repeating this if necessary. use waitfor command) Makes a pop-up window that has the following text: “How much doyou like this class?” And have 3 buttons below this text that theuser can click on. Choose three different text options for thebuttons. The labels are your choice, but the left-most should bethe lowest (worst) rating, and the rightmost the highest (best)rating. Set the middle button to be the default. Saves all of the user’s information (name, age, class rating) toa struct data type called studentStruct with fields Name, Age, andClassRating. Creates another pop-up window that asks the user whether thereis another student to enter data for (options should be Yes or No,with No as default). • If the user answers Yes, then all of the code for parts a-dshould be executed again, with the second user’s info being savedto a new entry in studentStruct. Repeat as many times as the usersays Yes. • If the user answers No, then save a .mat file wiithstudentStruct. The file name should be called “XstudentsData.mat”,where “X” is replaced by the number of students with data in thestructure. E.g., if 1 student enters info, then clicks Yes in part(f), and a second student enters info and then clicks No in part(f), the file should be called “2studentsData.mat”. If a thirdstudent had entered info, it would be “3studentsData.mat”. . . .