Suppress Window using System Command
7 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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)
4 Comments
Marcel
on 15 May 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.
More Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!