problem in creating the exe file in MATLAB

3 Ansichten (letzte 30 Tage)
Modestas Sekreckis
Modestas Sekreckis am 30 Mai 2011
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.

Antworten (1)

Walter Roberson
Walter Roberson am 30 Mai 2011
mex -setup
is probably needed.
  4 Kommentare
Modestas Sekreckis
Modestas Sekreckis am 30 Mai 2011
it did not help, still the same error
Kaustubha Govind
Kaustubha Govind am 1 Jun. 2011
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by