MATLAB: How to make a push button in a uitable

push buttonuitable

I have a uitable and I want to put a push button in one cell of each row of table with a callback for each one.
1.Can I do that?
2.If yes, how?

Best Answer

There is a callback property for the uitable called 'CellSelectionCallback'
which will trigger a function each time you select a cell.
uit = uitable('CellSelectionCallback',@cellpush)
%then you can just define your function
Related Question