Release resources and allow changes to System object property values and input characteristics
Counter object and set a property.
obj = Counter; obj.UseIncrement = false
obj = Counter with properties: UseIncrement: 0 UseWrapValue: 1 StartValue: 1 Increment: 1 WrapValue: 10
Reset and release the object.
obj— System object™ to release
System object you want to release.
You can use
release on a System
code generated from MATLAB®, but after you release its resources,
you cannot use that System
For details, see System Objects in MATLAB Code Generation (MATLAB Coder).