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 日

0 投票

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 年 9 月 28 日
I am having this-
Chunru
Chunru 2022 年 9 月 28 日
need bracks over the folder.
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 件)

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

製品

リリース

R2022b

タグ

質問済み:

2022 年 9 月 27 日

コメント済み:

2024 年 5 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by