Table in Guide, Start number

1 view (last 30 days)
dmfwlansejr
dmfwlansejr on 30 Jul 2021
Edited: Dave B on 30 Jul 2021
Following is starting number '1',2,3,4,5,6
This is auto make it
I want to start at '0',1,2,3,4,5
How to make it in the guide? (I'm not familiar with "App Designer")

Accepted Answer

Dave B
Dave B on 30 Jul 2021
Edited: Dave B on 30 Jul 2021
The property you are looking for is "RowName"
If you want to change it programatically, and hTable is your table, you could do
hTable.RowName = 0:9;
In GUIDE, to do it interactively:
  • Double Click on the table to bring up the Inspector
  • Scroll down to RowName
  • Click on "numbered" and choose "Show names entered below as the row headers"
  • Then you can type in 0, 1, 2, ...
And try App Designer, it's not too difficult and well worth it to learn!

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!