Remove ego bodies from capsule list
egoIDs— IDs of ego bodies
IDs of ego bodies to remove, specified as a vector of positive integers.
status— Result of removing ego bodies
Result of removing ego bodies, specified as N-element column
vector of ones, zeros, and negative ones. N is the number of ego
bodies specified in the
egoIDs argument. Each value indicates
whether the body is removed (
1), not found (
a duplicate (
-1). If you specify the same ego ID multiple times in
egoIDs input argument, then all entries besides the last are
marked as a duplicate.