What is .mex file ?

1 次查看(过去 30 天)
Ajay Pherwani
Ajay Pherwani 2013-3-4
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 ?

回答(1 个)

Walter Roberson
Walter Roberson 2013-3-4
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 个评论
Ajay Pherwani
Ajay Pherwani 2013-3-5
编辑:Ajay Pherwani 2013-3-5
OK , thanks for the answers :)
Sean de Wolski
Sean de Wolski 2013-3-5
@Walter: or fortran!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by