2 curTaskObj=getCurrentTask();
3 isMain=isempty(curTaskObj);
4 taskId=get(curTaskObj,'ID');
9 %on windows the task name has a form Job
#/Task#, while on 10 %Linux - Task#. We need a unification so we
remove the Job#
12 curTaskName=[
'task',num2str(taskId)];
14 taskName=[
'child',
'.',curTaskName];
19 SProp.taskName=taskName;
function gettasknamepcomp()
GETTASKNAME returns task name and some additional properties.