Minimize cmd.exe window launched from MATLAB?
Mostrar comentarios más antiguos
I am using a TCP/IP object to have MATLAB communicate with Python in the background. Python needs to be the server, so from MATLAB I call the Python script like so:
!python main.py &
Everything works properly if I do this, except the cmd.exe window is in the middle of the screen (the user interacting with this window is not a good idea).
Is there a way to minimize the cmd.exe window (titled 'C:\WINDOWS\SYSTEM32\cmd.exe' - I can figure out its fid) while keeping the exclamation and ambersand operators in the system call as-is?
2 comentarios
Ajay krishna Vasanthakumar
el 19 de Nov. de 2020
Hello Dominik,
Did you find the answer ?
Thanks
Ajay Krishna
dpb
el 19 de Nov. de 2020
Did you not read the ANSWER below????
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Call Python from MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!