Execute the command line and create a fifo pipe for reading/writing output/input. Used internally by pfstools. fid = pfspopen( command_line, mode ) command_line - shell command line that should be executed mode - either 'r' for reading output, or 'w' for writing input fid - file ID, which should be passed to pfsopen Always use pfspclose() to close the pipe created with pfspopen
0001 % Execute the command line and create a fifo pipe for reading/writing 0002 % output/input. Used internally by pfstools. 0003 % 0004 % fid = pfspopen( command_line, mode ) 0005 % 0006 % command_line - shell command line that should be executed 0007 % mode - either 'r' for reading output, or 'w' for writing input 0008 % fid - file ID, which should be passed to pfsopen 0009 % 0010 % Always use pfspclose() to close the pipe created with pfspopen