Changing the shell for system commands to mingw-w64
Hi community,
I’ve been trying to use ‘system’ commands in MATLAB to execute operating system command (from MRtrix3 to be specific). However, to do so I need to change the shell from default to mingw-w64 for my windows laptop, which I’ve been struggling to do. While I’ve tryied things like:
setenv MATLAB_SHELL C:msys2mingw64.exe
inside my script before calling system comamnds, it doesn’t actually work.
I wonder what can I do about this / what i did wrong.
Many thanks in advanceHi community,
I’ve been trying to use ‘system’ commands in MATLAB to execute operating system command (from MRtrix3 to be specific). However, to do so I need to change the shell from default to mingw-w64 for my windows laptop, which I’ve been struggling to do. While I’ve tryied things like:
setenv MATLAB_SHELL C:msys2mingw64.exe
inside my script before calling system comamnds, it doesn’t actually work.
I wonder what can I do about this / what i did wrong.
Many thanks in advance Hi community,
I’ve been trying to use ‘system’ commands in MATLAB to execute operating system command (from MRtrix3 to be specific). However, to do so I need to change the shell from default to mingw-w64 for my windows laptop, which I’ve been struggling to do. While I’ve tryied things like:
setenv MATLAB_SHELL C:msys2mingw64.exe
inside my script before calling system comamnds, it doesn’t actually work.
I wonder what can I do about this / what i did wrong.
Many thanks in advance shell, system MATLAB Answers — New Questions