How to create a cell containing a cell array?

6 views (last 30 days)
I have an excel file with data. The dimension of data is 2097 x 15. I would like to create a 2097x1 cell in Matlab so that when I click on each cell array, it takes me to that specific row data. Can someone help with this? TIA.

Answers (1)

Walter Roberson
Walter Roberson on 26 Jun 2024
Edited: Walter Roberson on 26 Jun 2024
YourCellArray = num2cell(YourDataArray,2);

Community Treasure Hunt

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

Start Hunting!