エクセルから読み込んだテーブルの文字列をappendしたい
Show older comments
エクセルから読み込んだtableにある文字列を式の中で文字列として扱いたいのですがどうやったら良いでしょう?
初歩的な質問で申し訳ありません。
>> x=readtable("Book1.xlsx")
x =
4×3 table
name address age
__________ _________ ___
{'arai' } {'北海道'} 49
{'satou' } {'鹿児島'} 40
{'ikeda' } {'栃木' } 39
{'yokota'} {'長野' } 22
>> a = x(1,1)
a =
table
name
________
{'arai'}
<<読み込んだaがtableになっているのは何故?>>
>> append(a,"test")
エラー: append (行 49)
入力 はテキストでなければなりません。
Accepted Answer
More Answers (0)
Categories
Find more on table in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!