Borrar filtros
Borrar filtros

Suppress Window using System Command

11 visualizaciones (últimos 30 días)
Rounak Saha Niloy
Rounak Saha Niloy el 27 de Sept. de 2022
Comentada: Marcel el 15 de Mayo de 2024
I am trying to open a software. Using command prompt, I can open it in the following way. How can I open it using Matlab system command? I need to use "display off" to suppress a pop-up window.
cd C:\Program Files\Bentley\Offshore\MAXSURF CONNECT Edition V23
MaxsurfModeler64.exe display off

Respuesta aceptada

Chunru
Chunru el 27 de Sept. de 2022
Editada: Chunru el 28 de Sept. de 2022
cd("C:\Program Files\Bentley\Offshore\MAXSURF CONNECT Edition V23")
cmd = "MaxsurfModeler64.exe display off"
system(cmd)
  4 comentarios
Rounak Saha Niloy
Rounak Saha Niloy el 5 de Oct. de 2022
cd("C:\Program Files\Bentley\Offshore\MAXSURF CONNECT Edition V23");
cmd = "MaxsurfModeler64.exe display off";
system(cmd);
The code does not proceed to the next line. It successfully opens the MaxsurfModeler64.exe but it does not proceed further. What should I do?
Marcel
Marcel el 15 de Mayo de 2024
Can I use display off when I need to have a "&" at the end of a command to make the program run in the background? For example command "XXX.exe display off &" displays the cmd. Command "XXX.exe & display off" parameter & does not work.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by