Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Windows 10 Forums
Programming and Windows PowerShell
Calling linux functions from a Win 10 program
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mimilein, post: 98489, member: 24512"] 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 [I]setenv[/I]) 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: [URL='https://www.howtogeek.com/261383/how-to-access-your-ubuntu-bash-files-in-windows-and-your-windows-system-drive-in-bash/']https://www.howtogeek.com/261383/how-to-access-your-ubuntu-bash-files-in-windows-and-your-windows-system-drive-in-bash/ )[/URL] 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? [/QUOTE]
Verification
Post reply
Forums
Windows 10 Forums
Programming and Windows PowerShell
Calling linux functions from a Win 10 program
Top