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

6 次查看(过去 30 天)
By double clicking an executable, a non-MATLAB window opens and after the execution, it immediately closes. How can I keep it open?

采纳的回答

Matt J
Matt J 2024-10-21
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.

更多回答(0 个)

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by