summaryrefslogtreecommitdiff
path: root/runCommand.m
diff options
context:
space:
mode:
authorHunter Rew <hbrew@email.wm.edu>2014-04-23 23:36:00 -0400
committerHunter Rew <hbrew@email.wm.edu>2014-04-23 23:36:00 -0400
commit41ab7ba66c047aa27e465484e558cd11481a8e40 (patch)
tree2a577e4463c1538a917983d98a1e48ab81e60862 /runCommand.m
parentd6a42d18635aeb2b3c4bdf22149590b93f88853d (diff)
downloadeit_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.m10
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