Home > vbmeg > functions > tool_box > dmri_processor > functions > util > tck_file_processor > dmri_fiber_tck_file_worker_stop.m

dmri_fiber_tck_file_worker_stop

PURPOSE ^

Stop matlab process for tck file process.

SYNOPSIS ^

function dmri_fiber_tck_file_worker_stop(work_dir)

DESCRIPTION ^

 Stop matlab process for tck file process.

 [INPUT]
         work_dir : tck file directory.
    worker_number : The worker number to stop.

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function dmri_fiber_tck_file_worker_stop(work_dir)
0002 % Stop matlab process for tck file process.
0003 %
0004 % [INPUT]
0005 %         work_dir : tck file directory.
0006 %    worker_number : The worker number to stop.
0007 %
0008 % Copyright (C) 2011, ATR All Rights Reserved.
0009 % License : New BSD License(see VBMEG_LICENSE.txt)
0010 
0011 cmd=['ps aux | grep ' work_dir ' | grep -v grep | awk ''{ print "kill -9 ", $2}'' | sh'];
0012 system(cmd);

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005