MatrixBerryCore
Functions
mxberry::pcalc Namespace Reference

Functions

function gettaskname ()
 GETTASKNAME returns task name and some additional properties. More...
 
function gettasknamepcomp ()
 GETTASKNAME returns task name and some additional properties. More...
 
function ismaintask ()
 ISMAINTASK returns true if current current task is not a child task launched via Matlab Parallel Toolbox. More...
 
function isparttbxinst ()
 

Function Documentation

◆ gettaskname()

function mxberry::pcalc::gettaskname ( )

GETTASKNAME returns task name and some additional properties.

*  Usage: [taskName,SProp]=gettaskname()
* 
*  Input:
* 
*  Output:
*    taskName: char[1,] - name of the current task
*    SProp: struct[1,1] - properties structure with the following fields:
*        isMain: logical[1,1] - true if current process is main, false if child
*        taskId: numerical[1,1] - number of child task
*        taskName: char[1,] - same as above
* 
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

◆ gettasknamepcomp()

function mxberry::pcalc::gettasknamepcomp ( )

GETTASKNAME returns task name and some additional properties.

*  Usage: [taskName,SProp]=gettaskname()
* 
*  Input:
* 
*  Output:
*    taskName: char[1,] - name of the current task
*    SProp: struct[1,1] - properties structure with the following fields:
*        isMain: logical[1,1] - true if current process is main, false if child
*        taskId: numerical[1,1] - number of child task
*        taskName: char[1,] - same as above
* 
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

◆ ismaintask()

function mxberry::pcalc::ismaintask ( )

ISMAINTASK returns true if current current task is not a child task launched via Matlab Parallel Toolbox.

*  Usage: isPos=ismaintask()
* 
*  Input:
* 
*  Output:
*    isPos: logical[1,1] - true if the current task is a main task and falst
*        otherwise
* 
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om

◆ isparttbxinst()

function mxberry::pcalc::isparttbxinst ( )
Author
Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om