BTK Matlab Wrapper  0.3dev.0
Matlab bindings for the Biomechanical ToolKit library (BTK)
btkDeleteAcquisition Class Reference

Description

Delete the acquisiton associated with the given handle.

Syntax:
btkDeleteAcquisition(h)
Parameters
hHandle pointing to a C++ btk::Acquisition object.
Detailed description:
This function is generally not necessary as Matlab uses a garbage collector to free the memory automatically. However, when you launch a batch and need to extract some parameters from many acquisitions, it is advised to use this function.
For example:
* % files: array of cells containing 500 filenames.
* for i = 1:length
*   acq = btkReadAcquisiton(files{i});
*   outcome = computeOutcome(outcome, acq);
*   btkDeleteAcquisition(acq);
* end 
See Also
btkCloneAcquisition, btkCloseAcquisition, btkNewAcquisition