How do you open data contained within one cell of a variable?

3 views (last 30 days)
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?

Accepted Answer

Azzi Abdelmalek
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}

More Answers (0)

Community Treasure Hunt

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

Start Hunting!