Reading all text from specific cell from .csv file.
古いコメントを表示
Actually I am new to matlab. I actually want to read specific code from the excel sheet(which is one column having all the specific code) and then want to print the information associated with that specific code(which is in another column). So what should I do.
Below is the sample csv data.
Specific Code DTC_display DTCType Information
'0x000100' 'P0001-00' 'CD' 'Fuel Volume Regulator "A" Control Circuit/Open'
'0x000200' 'P0002-00' 'CD' 'Fuel Volume Regulator "A" Control Circuit Range/Performance'
'0x000300' 'P0003-00' 'C' 'Fuel Volume Regulator "A" Control Circuit Low'
'0x000400' 'P0004-00' 'C' 'Fuel Volume Regulator "A" Control Circuit High'
Simply. If user enter specific code then I will search from the first column and then if I found the inputted value in first column then I will print the information associated with it(present in the column with header Information).
4 件のコメント
Walter Roberson
2020 年 2 月 17 日
Is it an excel sheet or is it a csv file? If it is a text file then is it comma separated or space or tab separated?
Shivam Upadhyay
2020 年 2 月 17 日
Jakob B. Nielsen
2020 年 2 月 17 日
CSV is comma separated values, but it looks like yours are tab separated. Can you try to attach the file, so we can see exactly what format we are working with?
Shivam Upadhyay
2020 年 2 月 17 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
