How to export and save values in a cell?
Show older comments
I have a variable in my workspace with 3 rows and 16 columns. Now I want to save the values in the cell in the first row and column13 separately (there is a column of 1000 values in that cell). I use:
A = save(variable_name{1: 13});
However, I get the error: too many output arguments. Does anyone know how I can extract the column vector in that one cell?
Thanks, and sorry if this is a very basic question.
2 Comments
Chad Greene
on 20 Jul 2017
Right, the save function is trying to save a .mat file on your computer. Do you want to save a .mat file or are you trying to get the values of the cell into an array called A?
Rosie
on 20 Jul 2017
Accepted Answer
More Answers (0)
Categories
Find more on Workspace Variables and MAT Files 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!