cell2underlying for tall arrays

Simplifies use of tall arrays with fileDatastore
Updated 21 Jun 2018

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

When you make a tall array from a fileDatastore, the resulting tall array is a tall cell array. CELL2UNDERLYING converts that tall cell array to a tall array of the underlying data. For example, if your fileDatastore returns a table for each file that it reads, then a tall array based on that fileDatastore would be a tall cell array where each cell contained a table. Using CELL2UNDERLYING would convert that to a tall table.

Cite As

MathWorks Parallel Computing Toolbox Team (2024). cell2underlying for tall arrays (https://www.mathworks.com/matlabcentral/fileexchange/61517-cell2underlying-for-tall-arrays), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

This update introduces a second syntax of CELL2UNDERLYING that allows you to provide an example of the underlying data. This is useful when you need to use CELL2UNDERLYING on the output of expensive tall calculations.