エクセルから読み込んだテーブルの文字列をappendしたい
Afficher commentaires plus anciens
エクセルから読み込んだ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)
入力 はテキストでなければなりません。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur table dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!