MATLAB: Do I receive a segmentation violation when using FINDOBJ to find a Distributed Computing job created using the Distributed Computing Toolbox 1.0 (R14SP1+)

computingcrashdctdistributedfindobjMATLAB Parallel ServermdceParallel Computing Toolboxsegv

When I use the FINDOBJ function
findobj(job,Tag,jobnumber');
to locate a job created using the Distributed Computing Toolbox 1.0 (R14SP1+), I receive the following error:
Assertion failed: hdr->in_use != 0, at line 736 of file ".\memmgr\memcache.cpp".
Attempt to free previously freed memory
This error is then followed by a segmentation violation.

Best Answer

The Distributed Computing Toolbox 1.0 (R14SP1+) does not support finding jobs or tasks through the FINDOBJ function. Below are the supported methods for finding jobs and tasks:
Given an array of jobmanagers, "jm", each of which contains a number of jobs, to find the one with tag 'thisTag', you would use the following command:
jobs = findJob (jm, 'Tag', 'thisTag');
Similarly, to find a task with tag t from within an array of jobs, you would use the following command:
tasks = findTask (jobs, 'Tag', 'thisTag');