What is .mex file ?
Mostrar comentarios más antiguos
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 ?
Respuestas (1)
Walter Roberson
el 4 de Mzo. de 2013
0 votos
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 comentarios
Ajay Pherwani
el 4 de Mzo. de 2013
Walter Roberson
el 4 de Mzo. de 2013
I do not know enough about Simulink to answer that.
My understanding had been that there might be some compilation when you use Accelerator mode.
Ajay Pherwani
el 5 de Mzo. de 2013
Editada: Ajay Pherwani
el 5 de Mzo. de 2013
Sean de Wolski
el 5 de Mzo. de 2013
@Walter: or fortran!
Categorías
Más información sobre Simulink Coder en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!