필터 지우기
필터 지우기

problem in creating the exe file in MATLAB

조회 수: 1 (최근 30일)
Modestas Sekreckis
Modestas Sekreckis 2011년 5월 30일
Hi, I am trying to create a exe file using the Deployment tool, but get an error metlab
C:\PROGRA~1\MATLAB\R2009B\BIN\MEX.PL: Error: Options file is invalid.
Error: An error occurred while shelling out to mbuild (error code = 255).
Unable to build executable.

답변 (1개)

Walter Roberson
Walter Roberson 2011년 5월 30일
mex -setup
is probably needed.
  댓글 수: 4
Modestas Sekreckis
Modestas Sekreckis 2011년 5월 30일
it did not help, still the same error
Kaustubha Govind
Kaustubha Govind 2011년 6월 1일
Try "mex -setup" at the MATLAB prompt as Walter suggested and paste the complete result from the MATLAB command window. Also, try a simple MEX example:
cd(fullfile(matlabroot, 'extern', 'examples', 'mex'));
mex -v yprime.c
And paste the result of the MEX command.

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

카테고리

Help CenterFile Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by