Re: how to create exe



On Feb 29, 12:16 pm, "Mamata Kukreja" <mamata_kukr...@xxxxxxxxx>
wrote:
Randy Poe <poespam-t...@xxxxxxxxx> wrote in message

<9b7d1700-0d89-481a-8bc5-6268674c8...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>...> On Feb 29, 11:58 am, "Mamata Kukreja"

<mamata_kukr...@xxxxxxxxx>> wrote:
Randy Poe <poespam-t...@xxxxxxxxx> wrote in message

<06bc7ef9-2d3b-47ad-af85-a4b56095a...@xxxxxxxxxxxxxxxxxxxxxxxxxxx>...>
On Feb 29, 10:41 am, "Mamata Kukreja"





<mamata_kukr...@xxxxxxxxx>

wrote:
Hello, I want to convert a .m and .fig file into an
exe or
any other form such that it runs without showing the
code .

You need the Matlab Compiler to make a *.exe file. That
is a separate product from Mathworks which requires you to
purchase a separate license.

However, I think that PCODE is part of the general
distribution
of Matlab. This creates "P-code" files which will also
act to
hide your source code.

HELP PCODE

- Randy

ok if i hv d compiler .. wat is d procedure of creating it ?

Short answer:
mcc -o executable-name -m main-program.m

Or run the deploy tool, which will prompt you for what
you need:

deploytool

Long answer:

Read the manual
http://tinyurl.com/2bequk

You will need to package up the matlab runtime to
distribute your Matlab code to other systems. This is
all covered in the manual.

- Randy

ok wil chk out .. but after creating the .p file .. i run it
by going to the folder and double clikin .. it says ..

You asked me about the compiler, so I answered about
the compiler.

The compiler makes EXE files. It is called MCC. Obviously
you ran PCODE instead, which is something different.

- Randy
.



Relevant Pages

  • Re: Building EXE Twice Produces Different Files
    ... I also did not close the IDE ... but now I have two different EXE files. ... the C2 compiler, but it ends up in the finished executable. ... (Due to the absence of 'lines' once a comparison gets out of synch - it ...
    (microsoft.public.vb.general.discussion)
  • Re: How many D6 users are left?
    ... he release compiled EXE files and a toolkit for developing BPL ... compiler and RTL/VCL framework. ... but suppose Dennis gets a customer who buys a license and installs the ... reluctance to support obsolete versions of Delphi just for the fun of it. ...
    (borland.public.delphi.non-technical)
  • Re: how to create exe
    ... is a separate product from Mathworks which requires you to ... You asked me about the compiler, ... i am able to create the package and distribute it. ... how do i run this example magicsquare in the target computer i.e. after i install the MCR on the end user computer after i click the exe a command window pops up but exits almost immediately. ...
    (comp.soft-sys.matlab)
  • Re: The Doctor Speaks
    ... operating system to be a platform change from a 32-bit CPU and ... > really describe a 64-bit Delphi compiler as a separate product from ... "separate product" is simply a bundling decision. ...
    (borland.public.delphi.non-technical)
  • Re: Is this a good habit?
    ... compiler. ... usual "cl" launcher that runs the two and passes and mangles options ... both, plus as someone mentioned, there were exe-packer programs ... especially made to post-fix these bloated exe files. ...
    (comp.lang.c)