What is .mex file ?

8 visualizzazioni (ultimi 30 giorni)
Ajay Pherwani
Ajay Pherwani il 4 Mar 2013
When ever i simulate a model containing state Chart in it, I generally observe mex files being generated in the current folder director.
What is the use of this .mex file ?

Risposte (1)

Walter Roberson
Walter Roberson il 4 Mar 2013
The .mex file is C code being generated from the Stateflow Chart; the C code is then compiled to binary code and run within MATLAB. This provides for efficient execution of the Chart.
  4 Commenti
Ajay Pherwani
Ajay Pherwani il 5 Mar 2013
Modificato: Ajay Pherwani il 5 Mar 2013
OK , thanks for the answers :)
Sean de Wolski
Sean de Wolski il 5 Mar 2013
@Walter: or fortran!

Accedi per commentare.

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by