I understand that you want to enter user input through a table.
You can do that by making the table fields editable.
So, depending upon the input, suppose you want the user input in the form of mXn matrix
You can initially fill the table with NaN(not a number) values along with a button in the following manner:
function startupFcn(app)
%no of rows 10
%no of columns 4
a1=nan(10,4);
a2=num2cell(a1);
app.UITable2.Data = a2;
end
It will look something like this:
![ML.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/231706/ML.png)
After that you can use call back for the button the to take all your input using table.