I am trying to run bowtie2 from matlab: [a,b]=unix('bowtie2 -h') the output is: a =127 b='bin/bash not such command' so I copied all the executables to usr/bin and then it gave me: a = 127 b = 'env: perl: No such file or directory'
And in my startup.m I have: setenv('PATH','usr/bin:/usr/local/bin'); Where bowtie2 is defined, and when I type the same bowtie2 command from terminal it works. It used to work in matlab too, in an earlier version, but now i am using 2017a, and it's not working anymore. I would love to get some answers. Thank you