Calling linux functions from a Win 10 program

Joined
May 31, 2019
Messages
1
Reaction score
0
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: https://www.howtogeek.com/261383/how-to-access-your-ubuntu-bash-files-in-windows-and-your-windows-system-drive-in-bash/ ) 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

Top