whats wrong with this code?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi !
This is a code taken from mathworks.com webpage. When I run this code, I get an error saying undefined variable or function Lastname. I really dont understand what I have forgotten to do here.
0 Kommentare
Antworten (1)
Walter Roberson
am 31 Jul. 2022
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
0 Kommentare
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!