How to make file name entry in uitable matlab GUI
Show older comments
Hello All, I have created a table using GUIDE. I have 3 columns. In column 1 i would like to display the number, in Column 2 the path of the file, in column 3 file name (i have more than 100 files). Further i would like to write a call back that i can create a column on right let us say column 4, 5...etc. I searched in google for several hours but i have no success. i would be very much thank ful, if any one can throw light on this issue
1 Comment
Ganesh Hegade
on 7 Dec 2016
In my proejct i wanted to add rows and i did it as shown below. Get the handle of the table and existing data. Then if you want to add new columns then please change the column numbers to be added. Then set new data to to table.
caOldData = get(hTHandle,'Data');
caNewData = [caOldData; cell(nRows, nColumntoAdd)];
set(hTHandle, 'Data', caNewData);
Answers (0)
Categories
Find more on Instrument Control Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!