Suppress Window using System Command

11 次查看(过去 30 天)
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

采纳的回答

Chunru
Chunru 2022-9-27
编辑:Chunru 2022-9-28
cd("C:\Program Files\Bentley\Offshore\MAXSURF CONNECT Edition V23")
cmd = "MaxsurfModeler64.exe display off"
system(cmd)
  4 个评论
Rounak Saha Niloy
Rounak Saha Niloy 2022-10-5
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 2024-5-15
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by