readtable

Create table from file.

📝 Syntax

  • T = readtable(filename)

  • T = readtable(filename, opts)

📥 Input argument

  • filename - a string: filename source.

  • opts - DelimitedTextImportOptions object

📤 Output argument

  • T - a table.

📄 Description

T = readtable(filename) creates a table by importing column-oriented data from a text or spreadsheet file.

T = readtable(filename, opts) creates a table using the settings defined in theopts import options object. The importoptions object allows you to customize howreadtable interprets the file, offering greater control, improved performance, and the ability to reuse the configuration compared to the default syntax.

💡 Examples

🔗 See also

writetable, detectImportOptions, readcell, fileread.

🕔 History

Version
📄 Description

1.10.0

initial version

Last updated

Was this helpful?