How can I import unorganized mixed text data into a certain table format?

1 view (last 30 days)
I'm attempting to import text data in the following format:
a=1,b=2,c=3,ect...
How do I import the data so the resulting array/table is the following:
a b c ... 1 2 3
In other words, I want the variable names in the first row and the values in the second row.
However, I don't know how I can change the variable 'formatSpec'
Thank you,
  1 Comment
Image Analyst
Image Analyst on 15 Apr 2015
What happens when you try the formatspec they gave you?
formatSpec = '%C%{MM/dd/yyyy HH:mm}D%f%f%{MM/dd/yyyy HH:mm}D%C';

Sign in to comment.

Answers (0)

Categories

Find more on Printing and Saving 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!