MATLAB: Is it possible to create a GUI table with number of rows and columns specified by the user columnsgui tablerowsuitable I want to create a GUI that asks user how many lines and columns he wants instead of the usual way (previously creating table in table editor). Is there a way to do it? Thanks! Best Answer ask the user to enter nline and ncolumnnline=10;ncolumn=8: set(handles.uitable1,'data',cell(nline,ncolumn)) Related SolutionsMATLAB: How to identify a user In Windows 7 you can find out who logged in by examining the user's personal folder. Do this:userProfile = getenv('USERPROFILE');and then extract out the login name of the account that logged in. MATLAB: How to add a table in GUI asking the user to input the number of rows. n = input('How many rows?');newdata = cell(n,2);set(handles.YourUitable, 'data', newdata); Related QuestionHow to find similar users to a target userI am trying to create a gui which includes one table (containing editable columns ) and a push button. i want to get the data which a user enters in the table to a variable when the push button is clicked. how can i do this
Best Answer