run .exe file with matlab in unix

9 次查看(过去 30 天)
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 个评论
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 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by