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

3 Ansichten (letzte 30 Tage)
William Chren
William Chren am 28 Mai 2019
Beantwortet: Akira Agata am 29 Mai 2019
how do I run a .exe within a .m file?

Akzeptierte Antwort

Akira Agata
Akira Agata am 29 Mai 2019
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');

Weitere Antworten (0)

Kategorien

Mehr zu Dynamic System Models finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by