MATLAB: How to use buttons to populate a specific row of the table in App Designer

MATLAB

I have a table in App Designer, and I only want 1 row filled in at any given time. How can I accomplish this, possibly using buttons as selectors?

Best Answer

You can achieve this workflow in 2 steps.
First, create a group of radio buttons - this will ensure that only 1 row button is selected at a given time. Then, in the callback of this button group, set the data of the table so that only 1 row is populated, according to the currently selected button.
See the attached App for an example of this workflow.