When running idTracker in batch, it is needed to open and close idTracker (using S&E) for each of the videos that has to be tracked. However when opening the second session of idTracker and error occurs with the following message:
Found an interactive session. You cannot have multiple interactive sessions open simultaneously. To terminate the existing session, use 'delete(gcp('nocreate'))'.
This can be solved by running:
idTracker; delete(gcp('nocreate'))
The error also occurs when running the code idTracker_batch and it can be solved by changing the line.
idTracker(datosegm)
by the following line:
idTracker(datosegm); delete(gcp('nocreate'))
The best it would be that delete(gcp('nocreate')) would be introduced in the core code of idTracker.
When running idTracker in batch, it is needed to open and close idTracker (using S&E) for each of the videos that has to be tracked. However when opening the second session of idTracker and error occurs with the following message:
Found an interactive session. You cannot have multiple interactive sessions open simultaneously. To terminate the existing session, use 'delete(gcp('nocreate'))'.
This can be solved by running:
idTracker; delete(gcp('nocreate'))
The error also occurs when running the code idTracker_batch and it can be solved by changing the line.
idTracker(datosegm)
by the following line:
idTracker(datosegm); delete(gcp('nocreate'))
The best it would be that
delete(gcp('nocreate'))
would be introduced in the core code of idTracker.Hope it helps.