What is LBL file format and is it possible to open it in MATLAB?

12 views (last 30 days)
What is LBL file format and is it possible to open it in MATLAB?
I have a LBL file (attached here), it contains the heading or labels of my data attached in .csv file.
My computer directly took it as a text file and opened it in notepad. So, i know it contains heading of my data file. There are about 291 variables in .csv file and hence there are 291 headings in .LBL file. As this file opens in verticle mode with various fields a text in notepad/word etc. it is difficult to correlate which heading belongs to which variable data. You can please open it in your notepad and check what I mean. Is it possible to find which heading corresponds to which data?
The data can be loaded by using command.
cas_data = readtable('ccwweee.csv');
Any help is greatly appriciated.
  2 Comments
Walter Roberson
Walter Roberson on 11 Aug 2022
The LBL (label) file contains fields that give explicit field number (column number) and field name (same as in the csv file)
It would be possible to merge the Units and Description fields for each variable into the table. However, the only command that is designed to display that information is summary which is pretty verbose.
There is just a lot of information in the file; it is not clear what would be an understandable way to present it.
MP
MP on 11 Aug 2022
Thank you sir! I got it.
Thank you very much for helping.
There is no "accept this answer" tab? How to accept your comment?

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 11 Aug 2022
[Copying from comment]
The LBL (label) file contains fields that give explicit field number (column number) and field name (same as in the csv file)
It would be possible to merge the Units and Description fields for each variable into the table. However, the only command that is designed to display that information is summary which is pretty verbose.
There is just a lot of information in the file; it is not clear what would be an understandable way to present it.

More Answers (0)

Categories

Find more on Data Import and Export 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!