ExportOptions
This object requires Streaming Data Framework for MATLAB® Production Server™.
Description
An ExportOptions
object specifies how MATLAB exports data from timetables to external event streams, such as Kafka® streams. The object contains properties that control the data export process,
including the transformation of event data to the specified type.
Creation
Create an ExportOptions
object by using the detectExportOptions
function. This function detects and populates the export
rules based on the configuration of the event stream specified by stream
and the variables in the timetable row specified by
row
.
opts = detectExportOptions(stream,row)
After creating opts
, use setvartype
to
change the types of the variables as they are exported from MATLAB to the stream. To export stream data, use the writetimetable
function.
Properties
Object Functions
setvartype | Set data types used to import and export variables to stream |
Examples
Version History
Introduced in R2022b