how do I run a .exe within a .m file?

3 次查看(过去 30 天)
how do I run a .exe within a .m file?

采纳的回答

Akira Agata
Akira Agata 2019-5-29
You can use system function to run a .exe. For example, if you save the following line in .m file and run in MATLAB on Windows PC, you can run notepad.exe and start Windows' Notepad.
system('notepad.exe');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dynamic System Models 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by