hkf
hkf

Reputation: 663

MATLAB Stand alone executable

I would like to know the easiest way to create a stand alone exe for MATLAB code. I do not have the MATLAB compiler. (Mathworks asks you to buy a license).

MATLAB is the only programming language I know. Step by step instructions (especially for non-MATLAB stuff) would be appreciated.

ver: MATLAB Version 7.10.0.499 (R2010a) Operating System: Microsoft Windows 7 Version 6.1 (Build 7600) Java VM Version: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java

Upvotes: 4

Views: 2607

Answers (2)

hkf
hkf

Reputation: 663

Guess I'll just get the compiler...

Upvotes: 2

Clement J.
Clement J.

Reputation: 3032

If it's pure MATLAB code, you can try the method that I proposed on programmers.SE (here) :

"You can use the free scilab to C converter. The procedure would be

  • Convert your code from Matlab to Scilab with M2SCI tools,
  • Convert the Scilab code to C using "Scilab 2 C",
  • Cross test the codes,
  • Use a profiler to search bottlenecks that need a human eye.

Ideally no knowledge of Scilab is needed in the process and it's easy enough to take some time try this solution (in practice, it's maybe not as simple ...)

Note : I didn't try this but it's a solution I envisage myself for similar reasons."

Otherwise as noted by gnovice, the MATLAB compiler is mandatory.

Upvotes: 5

Related Questions