ImportOptions
This object requires Streaming Data Framework for MATLAB® Production Server™.
Description
An ImportOptions
object specifies how MATLAB imports tabular data from event streams. The object contains properties that
control the data import process, including handling of errors and missing data.
Creation
You can create an ImportOptions
object by using either the detectImportOptions
function or the eventStreamImportOptions
function. The preferred way is to use
detectImportOptions
.
Use
detectImportOptions
to detect and populate the import properties based on the contents of the event stream specified bystream
.opts = detectImportOptions(stream)
Use
eventStreamImportOptions
to create import properties by specifying import options as name-value arguments.opts = eventStreamImportOptions(Name1=Value1,...,NameN=ValueN)
Properties
Object Functions
setvartype | Set data types used to import and export variables to stream |
Examples
Version History
Introduced in R2022b