diff options
author | Hunter Rew <hbrew@email.wm.edu> | 2014-04-23 23:36:00 -0400 |
---|---|---|
committer | Hunter Rew <hbrew@email.wm.edu> | 2014-04-23 23:36:00 -0400 |
commit | 41ab7ba66c047aa27e465484e558cd11481a8e40 (patch) | |
tree | 2a577e4463c1538a917983d98a1e48ab81e60862 /runCommand.m | |
parent | d6a42d18635aeb2b3c4bdf22149590b93f88853d (diff) | |
download | eit_filter_simulations-41ab7ba66c047aa27e465484e558cd11481a8e40.tar.gz eit_filter_simulations-41ab7ba66c047aa27e465484e558cd11481a8e40.zip |
Organized scripts and switched to python for multiprocessing
Diffstat (limited to 'runCommand.m')
-rw-r--r-- | runCommand.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/runCommand.m b/runCommand.m new file mode 100644 index 0000000..649ffd9 --- /dev/null +++ b/runCommand.m @@ -0,0 +1,10 @@ +function runCommand(command) + + localPath = getenv('LD_LIBRARY_PATH'); + systemPath = getenv('PATH'); + + setenv('LD_LIBRARY_PATH', localPath); + system(command); + setenv('LD_LIBRARY_PATH', systemPath); + +end
\ No newline at end of file |