diff options
author | Jan Huwald <jh@sotun.de> | 2012-05-07 19:53:27 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2012-05-07 19:53:27 (GMT) |
commit | 00b209240138660db1ded3ef3870023964ce6e4e (patch) | |
tree | 8ffaec780b060bdc478929aa714b8af2ee760671 /code/glue/exec-matlab |
Diffstat (limited to 'code/glue/exec-matlab')
-rwxr-xr-x | code/glue/exec-matlab | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/code/glue/exec-matlab b/code/glue/exec-matlab new file mode 100755 index 0000000..ccb0d23 --- /dev/null +++ b/code/glue/exec-matlab @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ -f $0.m ]; then + env - bash -c "(echo \"$1\"; cat $0.m) | matlab -nodesktop" +# env - bash -c "cat $0.m | octave" +else + echo file $0.m not found +fi |