Filter löschen
Filter löschen

Suppress Window using System Command

9 Ansichten (letzte 30 Tage)
Rounak Saha Niloy
Rounak Saha Niloy am 27 Sep. 2022
Kommentiert: Marcel am 15 Mai 2024 um 14:37
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

Akzeptierte Antwort

Chunru
Chunru am 27 Sep. 2022
Bearbeitet: Chunru am 28 Sep. 2022
cd("C:\Program Files\Bentley\Offshore\MAXSURF CONNECT Edition V23")
cmd = "MaxsurfModeler64.exe display off"
system(cmd)
  4 Kommentare
Rounak Saha Niloy
Rounak Saha Niloy am 5 Okt. 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 am 15 Mai 2024 um 14:37
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by