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

3 vues (au cours des 30 derniers jours)
William Chren
William Chren le 28 Mai 2019
how do I run a .exe within a .m file?

Réponse acceptée

Akira Agata
Akira Agata le 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');

Plus de réponses (0)

Catégories

En savoir plus sur Dynamic System Models dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by