Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Need help with the mcc function

Subject: Need help with the mcc function

From: Rajesh Rajaram

Date: 7 Dec, 2007 20:06:30

Message: 1 of 6

Hi
I am trying to create a .exe file which I can give it to
others to use.

I made one using "mcc -m", but the exe file didn't run in
another computer.

Kindly help

Rajesh

Subject: Need help with the mcc function

From: Vihang Patil

Date: 8 Dec, 2007 05:22:40

Message: 2 of 6

"Rajesh Rajaram" <ae96010@yahoo.co.uk> wrote in message
<fjc946$l1n$1@fred.mathworks.com>...
> Hi
> I am trying to create a .exe file which I can give it to
> others to use.
>
> I made one using "mcc -m", but the exe file didn't run
in
> another computer.
>
> Kindly help
>
> Rajesh

Read this

http://www.mathworks.com/access/helpdesk/help/toolbox/compi
ler/index.html?/access/helpdesk/help/toolbox/compiler/bqvh6
kc-1.html&http://www.google.com/search?
hl=en&client=firefox-a&rls=org.mozilla:en-
US:official&hs=AX8&sa=X&oi=spell&resnum=1&ct=result&cd=1&q=
MCRinstaller&spell=1

Vihang

Subject: Need help with the mcc function

From: Rajesh Rajaram

Date: 10 Dec, 2007 15:26:37

Message: 3 of 6

Mr Patil
I really appreciate your help in this regard.

However I am trying to create exe files which I can give
others in my company. They would be vary of installing
something in their computers. What I was hoping is to give
them a stand alone exe file which is all they would need.

I can see that the mcc can output a c/c++ code. I was
wondering if it is possible to compile it into an exe file
using a separate c/c++ compiler. but it seems to be
missing a mclmcr.h file its include directory. Please do
let me know if you have any knowledge in this regard.

Thank you very much. I really appreciate your time.

Rajesh

Subject: Need help with the mcc function

From: dpb

Date: 10 Dec, 2007 15:29:24

Message: 4 of 6

Rajesh Rajaram wrote:
> Mr Patil
> I really appreciate your help in this regard.
>
> However I am trying to create exe files which I can give
> others in my company. They would be vary of installing
> something in their computers. What I was hoping is to give
> them a stand alone exe file which is all they would need.

But they are meanwhile _not_ wary of copying an exe file to their machine?

This is an incomplete thread on this news server so didn't see first
question, so can only comment on what is here...

--

Subject: Need help with the mcc function

From: Rajesh Rajaram

Date: 10 Dec, 2007 15:55:27

Message: 5 of 6

> But they are meanwhile _not_ wary of copying an exe file
to their machine?
>
> This is an incomplete thread on this news server so
didn't see first
> question, so can only comment on what is here...

While I understand your stand in this, I only want to send
1 exe file when asked for. It would be lot easier than
sending multiple files (MCR installation files).

Since the MATLAB by itself is not capable of creating an
exe file, my question now is can I compile to c code it
generates using an independent compiler. I would really
apprectiate any help in this regard.

Rajesh

Subject: Need help with the mcc function

From: Vihang Patil

Date: 25 Dec, 2007 06:46:36

Message: 6 of 6

"Rajesh Rajaram" <ae96010@yahoo.co.uk> wrote in message
<fjjnhf$a6t$1@fred.mathworks.com>...
> > But they are meanwhile _not_ wary of copying an exe file
> to their machine?
> >
> > This is an incomplete thread on this news server so
> didn't see first
> > question, so can only comment on what is here...
>
> While I understand your stand in this, I only want to send
> 1 exe file when asked for. It would be lot easier than
> sending multiple files (MCR installation files).
>
> Since the MATLAB by itself is not capable of creating an
> exe file, my question now is can I compile to c code it
> generates using an independent compiler. I would really
> apprectiate any help in this regard.
>
> Rajesh
>


You can use the new deploytool. There you can bundle the MCR
with your application and send the exe so generated
Vihang

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us