How do I get rid of the windows command prompt when I open an .exe file from a compiled application using Matlab's system function?

1 vue (au cours des 30 derniers jours)
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?

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 18 Déc 2019
try this?
winopen('On-ScreenKeyboardPortable.exe')

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by