run .exe file with matlab in unix

18 visualizaciones (últimos 30 días)
Mabrouk Abaza
Mabrouk Abaza el 4 de Jul. de 2020
Comentada: Walter Roberson el 8 de Jul. de 2020
how can i run .exe file with matlab in UNIX. I tried as in windows:
!hyd.exe projet.csv
but i receive an error
any help?
thank you

Respuestas (2)

Kawin Kumaran
Kawin Kumaran el 5 de Jul. de 2020
system() function is used to run executables from MATLAB .
Syntax :
system('"myexe.exe" arg0 arg1')
Please refer the following documentation for UNIX tips and Limitations :
  11 comentarios
Mabrouk Abaza
Mabrouk Abaza el 8 de Jul. de 2020
I used:
sudo apt install wine
Walter Roberson
Walter Roberson el 8 de Jul. de 2020
I would tend to think that the installation instructions directly from Wine would take priority.
If you still have the problem after you have followed them, post the complete traceback; that might help narrow the problem down.
Am I correct that your hyd.exe was created many years ago, in the 1980's ?

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 5 de Jul. de 2020
exe files are Windows executables that are not directly usable in Unix.
If you have a windows emulator such as wine you might be able to use that
system('wine file.exe arg0 arg1')

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by