run .exe file with matlab in unix

조회 수: 18 (최근 30일)
Mabrouk Abaza
Mabrouk Abaza 2020년 7월 4일
댓글: Walter Roberson 2020년 7월 8일
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

답변 (2개)

Kawin Kumaran
Kawin Kumaran 2020년 7월 5일
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
Mabrouk Abaza
Mabrouk Abaza 2020년 7월 8일
I used:
sudo apt install wine
Walter Roberson
Walter Roberson 2020년 7월 8일
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 ?

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2020년 7월 5일
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')

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by