Creating an executable from a Matlab App that calls a Simulink file
    6 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    Sam136
 le 5 Nov 2020
  
    
    
    
    
    Réponse apportée : Walter Roberson
      
      
 le 5 Nov 2020
            I am trying to create a standalone executable from a Matlab app using Application compiler. This app calls a Simulink/Simscape model by "sim" command. The packaging process was completed successfully without any error and the executable file runs fine too. Although, it seems that the portion of the code that calls the Simulink model doesn't work at all. There is no error but nothing happens either. I am wondering if this is related to the licensing or not? I do have the licenses for Matlab/Simulink/Simscape, Matlab Coder, Matlab Compiler, and Simulink Coder. Do I need Simulink Compiler too? 
0 commentaires
Réponse acceptée
  Walter Roberson
      
      
 le 5 Nov 2020
        You need R2020a or later and Simulink Compiler; see https://www.mathworks.com/matlabcentral/answers/97161-how-can-i-create-a-deployable-standalone-executable-from-a-matlab-application-that-calls-a-simulink#answer_106511 
0 commentaires
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Get Started with MATLAB Compiler dans Help Center et File Exchange
			
	Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

