How can I keep the non-Matlab command window open after executing an executable by double clicking it?
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Magdy Hanna
 el 21 de Oct. de 2024
  
    
    
    
    
    Respondida: Matt J
      
      
 el 21 de Oct. de 2024
            By double clicking an executable, a non-MATLAB window opens and after the execution, it immediately closes. How can I keep it open?
1 comentario
  Taylor
    
 el 21 de Oct. de 2024
				Are you able to provide more details? Assuming this is an EXE created by Compiler, can you share the code you compiled into the EXE?
Respuesta aceptada
  Matt J
      
      
 el 21 de Oct. de 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.
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


