whats wrong with this code?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Walter Roberson
2022 年 7 月 31 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!