How to compile model and generate code using simulink coder through C# .Net application?
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
I am developing .Net Application which uses Matlab for simulation. Is it possible to compile model and generate c++ code using simulink coder through my .Net application? I want to compile model n then use generated functions to simulate model through my .NET application. Thanks.
0 Commenti
Risposte (1)
  Kaustubha Govind
    
      
 il 22 Lug 2011
        How are you interfacing with MATLAB from your .NET application? Are you invoking MATLAB as a COM Server? If yes, you can simply using the Simulink command-line interface and run them like any other MATLAB commands. The rtwbuild command will compile your model and generate code.
If you are using MATLAB Builder NE to compiler MATLAB code into .NET components, Simulink (and consequently code generation) is not supported in compiled code.
0 Commenti
Vedere anche
Categorie
				Scopri di più su Simulink Coder in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

