problem in creating the exe file in MATLAB

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 日

0 投票

mex -setup
is probably needed.

4 件のコメント

Modestas Sekreckis
Modestas Sekreckis 2011 年 5 月 30 日
where to get it?
Walter Roberson
Walter Roberson 2011 年 5 月 30 日
Just type that command at the MATLAB command line.
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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

質問済み:

2011 年 5 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by