Main Content
resize
Syntax
Description
resize(
resizes experience buffer buffer
,maxLength
)buffer
to have a maximum length of
maxLength
.
If
maxLength
is greater than or equal to the number of experiences stored in the buffer, thenbuffer
retains its stored experiences.If
maxLength
is less than the number of experiences stored in the buffer, thenbuffer
retains only themaxLength
most recent experiences.
Examples
Input Arguments
Version History
Introduced in R2022b