Is there a way to surpress the command window when starting the engine ?
    2 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
I am using the engine library to call MATLAB from my C++ code. When I call the engopen function to start a MATLAB Engine session, the command window opens. Is there any way to prevent it, or close it immediately ? I saw an old question from 2009 about it and they only made it invisible.
1 commentaire
  Jan
      
      
 le 27 Juil 2018
				Please post a link to the thread, if you mention it already. This is smarter than letting the readers search it again.
Réponse acceptée
  Jan
      
      
 le 27 Juil 2018
        Do you mean: https://www.mathworks.com/matlabcentral/answers/103148-is-it-possible-to-suppress-the-matlab-command-window-from-opening-when-you-launch-the-matlab-engine ? If so, what is the problem with this code?
Are you working under Windows, MacOS or Linux?
3 commentaires
  Jan
      
      
 le 30 Juil 2018
				@Philipp Heinrich: Even if you work in C++, you are opening a Matlab engine. Then you can run Matlab commands in this engine.
As far as I know, the answer to your question is: No, there is no method to suppress the window when starting the engine.
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Call MATLAB from C 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!