User Defined input in form of a table

28 views (last 30 days)
Nabhdeep Bansal
Nabhdeep Bansal on 18 Nov 2014
Commented: Evan on 18 Nov 2014
Hi. I wished to ask for a user defined input in my program. The input should be in the form of a table to be filled by the user. The sample table is attached alongwith. The table should be similar to an excel sheet. There was no relevant function I could find. Please Help. Thank You.

Accepted Answer

Evan on 18 Nov 2014
Edited: Evan on 18 Nov 2014
You can either import tabular data from excel using xlsread or create a GUI that contains a uitable with MATLAB. Creating your own GUI will take much longer.
See here for getting started on creating GUIs in MATLAB.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by