Saving part of a cell array
2 views (last 30 days)
Show older comments
Is there a way to save a part of a cell array like test{1,1}, test{1,2}...etc to separate variables in a .mat file?
1 Comment
Sara
on 1 Jul 2014
Why do you want to do that? What name do you want to assign to each part of the cell array, e.g., a = test{1,1}; b = test{1,2}, or something else?
Accepted Answer
Azzi Abdelmalek
on 1 Jul 2014
You can do it, but it's really a bad idea, you can access any part of your cell by
test{1,n}
More Answers (0)
See Also
Categories
Find more on Multidimensional Arrays 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!