How to store the real row id in datastore?

2 ビュー (過去 30 日間)
Ahmed Hamed
Ahmed Hamed 2016 年 4 月 30 日
編集済み: Ahmed Hamed 2016 年 4 月 30 日
I'have a file named 'HIS_all.csv' and i used datastore function to store it as follows
ds = datastore('HIS_all.csv', 'DatastoreType', 'tabulartext', 'TreatAsMissing', 'NA');
datastore by default makes cell array named VariableNames containing the variable names. Is there any way to do this with rows. i.e. i need to make a unique id for each row that will be passed with it to the map function to make something like this
addmulti(intermidiateValuesOut,key,{ind});
I'd like the key here to be the real id in the file. for example if I'm working with row number 10000, I'd like the key to be 10000. Is this possible?
Please Help Thanks in advance

回答 (0 件)

カテゴリ

Help Center および File ExchangeBig Data Processing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by