Kalkulationstabellen
Microsoft®-Excel®-Kalkulationstabellen
Lesen und Schreiben von Daten in Kalkulationstabellen, einschließlich .xls- und .xlsx-Dateien, in Tabellen, Timetables, Matrizen oder Arrays in MATLAB®. Sie können einen ausgewählten Datenbereich oder mehrere Arbeitsblätter aus Dateien mit Kalkulationstabellen importieren.
Tools
| Import Tool | Import data from file |
Live Editor Tasks
| Importieren von Daten | Import data from a file in the Live Editor (Seit R2023a) |
Funktionen
Objekte
spreadsheetDatastore | Datastore for spreadsheet files |
Themen
Lesen von Daten in Kalkulationstabellen
- Importieren von Tabellenkalkulationen
Tabellenkalkulationen wie z. B Microsoft Excel-Dateien enthalten oft eine Mischung aus numerischen Daten und Textdaten sowie Variablen- und Zeilennamen. - Read Spreadsheet Data Using Import Tool
Preview spreadsheet data from a file or the clipboard and select data to import using the Import tool. - Read Spreadsheet Data into Table
The best way to represent tabular spreadsheet data in MATLAB is in a table since tables can store heterogeneous (a mix of numeric and text) data, as well as variable and row names. - Control How MATLAB Imports Your Data
If you want to control the import process beyond the options provided by thereadtablefunction, such as defining how to handle missing data or errors, then create an import options object before importing the data. - Read Spreadsheet Data into Array or Individual Variables
In addition to importing data as a table usingreadtable, you can also import data as a matrix, a cell array, or import separate variables directly in to the workspace. - Read Collection or Sequence of Spreadsheet Files
Read and manage data from a collection of spreadsheet files.
Schreiben von Daten in Kalkulationstabellen
- Schreiben von Daten in Excel Kalkulationstabellen
Sie können Daten im Workspace in eine Microsoft Excel-Kalkulationstabellendatei exportieren.