Suppress Window using System Command

13 views (last 30 days)
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

Accepted Answer

Chunru
Chunru on 27 Sep 2022
Edited: Chunru on 28 Sep 2022
cd("C:\Program Files\Bentley\Offshore\MAXSURF CONNECT Edition V23")
cmd = "MaxsurfModeler64.exe display off"
system(cmd)
  3 Comments
Chunru
Chunru on 28 Sep 2022
need bracks over the folder.
Rounak Saha Niloy
Rounak Saha Niloy on 5 Oct 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?

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!