my_tab.Properties.RowNames = LastName;
You are referring to LastName with a capital N. You have not defined a LastName with a capital N: you have defined Lastname with a lower-case N
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!