Ubuntu – How to run exe file in Ubuntu

executableMATLABwindows

Is it possible to run a .exe file in Ubuntu in a script?
For example a simple Matlab code like this:

system("dir/WAV2RAW.exe")

Best Answer

I think you should use Wine.

sudo apt-get install wine
wine dir/WAV2RAW.exe

Or Mono if you know that exe is .NET application:

sudo apt install mono-runtime
mono dir/WAV2RAW.exe
Related Question