How do you open data contained within one cell of a variable?
2 views (last 30 days)
Show older comments
Franchesca
on 20 Apr 2014
Edited: Azzi Abdelmalek
on 20 Apr 2014
I have imported a number of excel files, Trial 7 to Trial 54. They have all imported into one variable and within that variable you have to double click a cell to see all the data for that Trial.
I am now trying to process the data to work out the time to do this I need to count the number of zeros however when writing the code I can access a row and column within the variable however this doesn't open the data within that cell. Is there code which accesses the data within a cell?
0 Comments
Accepted Answer
Azzi Abdelmalek
on 20 Apr 2014
Edited: Azzi Abdelmalek
on 20 Apr 2014
your cell array A should be a 1x54 cell, to access your data use a curly brackets
A{1}
A{2}
0 Comments
More Answers (0)
See Also
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!