Calling linux functions from a Win 10 program

May 31, 2019
Reaction score
Hi, I am looking for a way to call functions in a program running in Ubuntu (Afni, a data analysis tool) from Matlab.
I can call basic unix functions from Matlab directly (for example !ubuntu -c ls) but I can’t access this specific program (which lives in /home/myname/abin) or any of its functions which I would like to run from Matlab.
When I set the path to access the directory of this program in Matlab (using the matlab command setenv) the path is indeed set correctly. But whatever function I am trying to run, it is not recognized as a command.
I think this might be related with Windows being blind for Ubuntu directories or not having permission to access them but even setting the path directly to Ubuntu files stored in Windows (as decribed here: ) does not do the job.
Before I reinstall Matlab in Ubuntu only to be able to access this program, does anyone know how to solve this problem?

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question