FUNCTION REFERENCE
matlab.io.spreadsheet.SpreadsheetImportOptions
Import options object for spreadsheet files returned by detectImportOptions.
Import options object for spreadsheet files returned by detectImportOptions.
Syntax
opts = detectImportOptions('file.xlsx')Holds sheet selection, data range, variable names, variable types, selected variables and per-variable VariableOptions. Customize with setvartype, getvaropts and setvaropts, then pass to readtable, readtimetable, readmatrix, readcell or preview.
Differences from MATLAB: Value object supporting core XLSX import options; legacy XLS binary workbooks are not supported.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.