Create workspace variable from csv

1 view (last 30 days)
Peter Kerekes
Peter Kerekes on 2 May 2018
Commented: Jan on 2 May 2018
Hello ! I do have the following problem: I have a csv document. From that I read the variable to a time series. And from that time series I would like to create a workspace variable. Can you help me how can I do that ? In the csv there are 3-8 number of variable, so I create more than one time series(time series collection).
  1 Comment
Jan
Jan on 2 May 2018
Converting the output to a time-series object does create a variable already. All variables are contained in a specific workspace by definition already. So what does "create a workspace variable" exactly mean? What should be contained in the "more than one" time series? Please post the current code, some example data and explain exactly, what you want as output.

Sign in to comment.

Answers (1)

Ameer Hamza
Ameer Hamza on 2 May 2018
data = readtable(filename);

Tags

Products

Community Treasure Hunt

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

Start Hunting!