MATLAB: How to get rid of the windows command prompt when I open an .exe file from a compiled application using Matlab’s system function

applicationdeployedexecutablestandalonesystem

I am building a standalone application on Matlab meant to be used on a Windows tablet. I added a MouseClickedCallback function to the underlying Java object of uicontrol edit boxes so that when the edit box is tapped, it brings up a portable on screen keyboard executable that is packaged with my app. The executable is called by the command:
system('On-ScreenKeyboardPortable.exe &')
However, this brings up the Windows command prompt in addition to the on screen keyboard in the deployed version. How can I bring up my on screen keyboard without opening the Windows command prompt in the deployed version?

Best Answer

try this?
winopen('On-ScreenKeyboardPortable.exe')