How can I keep the non-Matlab command window open after executing an executable by double clicking it?

1 visualizzazione (ultimi 30 giorni)
By double clicking an executable, a non-MATLAB window opens and after the execution, it immediately closes. How can I keep it open?

Risposta accettata

Matt J
Matt J il 21 Ott 2024
There is very little context provided by the question, but if it is an executable created with the Matlab Compiler, then for example, this will launch a Windows cmd shell,
!start cmd
and it should persist.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by