필터 지우기
필터 지우기

Mex File Creation Error

조회 수: 3 (최근 30일)
Kailash Golecha
Kailash Golecha 2013년 8월 6일
댓글: Sadaf 2013년 10월 24일
I am working on system simulation which has MatLab Code and a Simulink model. Whenever i am working with accelerator mode in simulink,i am getting "Problem while creating Mex file for simulink" and simulation stop. This error is so random even some time it comes when the simulation is about to complete and all time wasted. In that case i need to run the model again.
Please provide your feedback.
[Relocated from answer section, Jan]
Below is the error message i am getting.
Problem Creating accelerator mex file for the model 'SimulinkModel' To see the build output use set_param('SimulinkModel', 'AccelVerboseBuild','on')
  댓글 수: 6
Kailash Golecha
Kailash Golecha 2013년 8월 19일
I have tried that also. But error remain same.
Kaustubha Govind
Kaustubha Govind 2013년 8월 19일
Could you confirm whether you have run mex -setup and selected a supported installed compiler already?

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
Jan 2013년 8월 6일
Without seeing any details, it is rather unlikely that the reason of your problems can be guessed. Could you provide anything more than that you are running Matlab and Simulink and that the problem seems to occur randomly?
  댓글 수: 1
Sadaf
Sadaf 2013년 10월 24일
편집: Sadaf 2013년 10월 24일
I am getting the same error when running any simulink model with accelerator: "Problem creating Accelerator MEX file for model 'SIM_MODEL'."
I am running OSX 10.8, Matlab2013a with Xcode 5.0. I have also seen the same problem on a windows platform. I have used the following to link my Xcode to Matlab: http://www.mathworks.com/support/solutions/en/data/1-OAMYBZ/index.html?solution=1-OAMYBZ
Any suggestions on how to troubleshoot?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by