inMemoryStream
Create connection to event stream hosted by MATLAB without schema processing applied
This object requires Streaming Data Framework for MATLAB® Production Server™.
Description
The inMemoryStream
function creates an
InMemoryStream
object, which you can use to test reading from and writing
to event streams hosted by MATLAB. Unlike the TestStream
object,
InMemoryStream
objects do not apply schema processing when reading and
writing timetable data. The data in an inMemoryStream
object disappears
when you exit MATLAB.
Creation
Description
stream = inMemoryStream
creates an
InMemoryStream
object connected to an event stream hosted by
MATLAB that does not apply schema processing.
stream = inMemoryStream(
specifies event stream options using one or more Name=Value
)Name=Value
arguments
when creating an object connected to an event stream hosted by MATLAB. Name
can also be a property name,
with Value
as the corresponding value. You can specify several
name-value arguments in any order as
Name1
=Value1
,...,NameN
=ValueN
.
Input Arguments
Properties
Object Functions
readtimetable | Read timetable from event stream |
writetimetable | Write timetable to event stream |
seek | Set read position in event stream |
preview | Preview subset of events from event stream |
identifyingName | Event stream name |
detectImportOptions | Create import options based on event stream content |
detectExportOptions | Create export options based on event stream content |
Examples
Version History
Introduced in R2022b