Does anyone know how to open a Microsoft cmd.exe window in MATLAB?
54 views (last 30 days)
Muhammad Zayed on 14 Aug 2020
Edited: Muhammad Zayed on 14 Aug 2020
you can use:
it works for me to open the command window from Matlab
Moreover, if you want to excute something in the cmd, you can do it as follows (in my case I want to run an excutable called "Opensees" then type the file name)
!Opensees fileName.tcl &
All the above commands will open and run the excutable in an external commond prompt window. If you wish to run it inside Matalb command window, just remove the "&" symbol at the end.
I hope this helps.
P.S. I am using MATLAB R2018a - academic version