What is .mex file ?
이전 댓글 표시
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
2013년 3월 4일
0 개 추천
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
2013년 3월 4일
Walter Roberson
2013년 3월 4일
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
2013년 3월 5일
편집: Ajay Pherwani
2013년 3월 5일
Sean de Wolski
2013년 3월 5일
@Walter: or fortran!
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!