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:
Problem deploying compiled apps

Subject: Problem deploying compiled apps

From: Corbin Holland

Date: 15 Feb, 2008 16:19:02

Message: 1 of 6

We have developed two matlab applications, one using version
2006b and one using 2007a, both compiled under Windows XP.

Is it possible to deploy both of the compiled applications
on the same machine?
  
We had trouble a while back getting more then one MCR
installer to install on the same machine a while back. It
kept throwing some error I can't remember exactly what it
was. I am just wondering if there is anything I can do to
make this work or MUST we both be working with the same
matlab version?

Subject: Problem deploying compiled apps

From: ImageAnalyst

Date: 16 Feb, 2008 21:35:34

Message: 2 of 6

On Feb 15, 11:19=A0am, "Corbin Holland"
<cholland.nos...@opticalsciences.com> wrote:
> We have developed two matlab applications, one using version
> 2006b and one using 2007a, both compiled under Windows XP.
>
> Is it possible to deploy both of the compiled applications
> on the same machine?
>
> We had trouble a while back getting more then one MCR
> installer to install on the same machine a while back. =A0It
> kept throwing some error I can't remember exactly what it
> was. =A0I am just wondering if there is anything I can do to
> make this work or MUST we both be working with the same
> matlab version?

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
Good question that I don't know the answer to. But i was wondering,
why not just compile your older macro in the new compiler and avoid
the problem altogether? Will it not work for some reason?
Regards,
ImageAnalyst

Subject: Problem deploying compiled apps

From: Vihang Patil

Date: 17 Feb, 2008 18:05:02

Message: 3 of 6

ImageAnalyst <imageanalyst@mailinator.com> wrote in message
<e31559f7-9f0d-4211-b161-a3c32e65a4d6@k2g2000hse.googlegroups.com>...
> On Feb 15, 11:19=A0am, "Corbin Holland"
> <cholland.nos...@opticalsciences.com> wrote:
> > We have developed two matlab applications, one using version
> > 2006b and one using 2007a, both compiled under Windows XP.
> >
> > Is it possible to deploy both of the compiled applications
> > on the same machine?
> >
> > We had trouble a while back getting more then one MCR
> > installer to install on the same machine a while back. =A0It
> > kept throwing some error I can't remember exactly what it
> > was. =A0I am just wondering if there is anything I can do to
> > make this work or MUST we both be working with the same
> > matlab version?
>
>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D
> Good question that I don't know the answer to. But i was
wondering,
> why not just compile your older macro in the new compiler
and avoid
> the problem altogether? Will it not work for some reason?
> Regards,
> ImageAnalyst


For ImageAnalyst
I guess he is stressing on the word "we" a lot of times and
in the end he also said "we both". So I believe there are
actually two programmers working on two different matlab
versions but probably are deploying their applications on
the same computer.
O.P : Correct me if I am wrong.
But to answer your question, I tried deploying applications
using R14Sp2 and R2006b on one computer and it worked. But I
had difficulty having to uninstall the MCRINSTALLER of
R14SP2 after I had installed the one for R2006b. Not a
serious problem, but just a note.
HTH
Vihang

Subject: Problem deploying compiled apps

From: Corbin Holland

Date: 19 Feb, 2008 18:43:06

Message: 4 of 6

"Vihang Patil" <vihang_patil@yahoo.com> wrote in message
<fp9t0e$dha$1@fred.mathworks.com>...
> ImageAnalyst <imageanalyst@mailinator.com> wrote in message
>
<e31559f7-9f0d-4211-b161-a3c32e65a4d6@k2g2000hse.googlegroups.com>...
> > On Feb 15, 11:19=A0am, "Corbin Holland"
> > <cholland.nos...@opticalsciences.com> wrote:
> > > We have developed two matlab applications, one using
version
> > > 2006b and one using 2007a, both compiled under Windows XP.
> > >
> > > Is it possible to deploy both of the compiled applications
> > > on the same machine?
> > >
> > > We had trouble a while back getting more then one MCR
> > > installer to install on the same machine a while back.
=A0It
> > > kept throwing some error I can't remember exactly what it
> > > was. =A0I am just wondering if there is anything I can
do to
> > > make this work or MUST we both be working with the same
> > > matlab version?
> >
> >
>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> > =3D=3D=3D=3D=3D=3D=3D
> > Good question that I don't know the answer to. But i was
> wondering,
> > why not just compile your older macro in the new compiler
> and avoid
> > the problem altogether? Will it not work for some reason?
> > Regards,
> > ImageAnalyst
>
>
> For ImageAnalyst
> I guess he is stressing on the word "we" a lot of times and
> in the end he also said "we both". So I believe there are
> actually two programmers working on two different matlab
> versions but probably are deploying their applications on
> the same computer.
> O.P : Correct me if I am wrong.
> But to answer your question, I tried deploying applications
> using R14Sp2 and R2006b on one computer and it worked. But I
> had difficulty having to uninstall the MCRINSTALLER of
> R14SP2 after I had installed the one for R2006b. Not a
> serious problem, but just a note.
> HTH
> Vihang

Thanks for repsonding guys and you are absolutely correct,
there two programmers both developing on different versions
of matlab. Porting the 2006b application up to 2007a is not
an option right now (for various reasons I can't get in to),
and yes we are trying to run both compiled apps on the same
machine.
 Ok that being said let me see if I understand your response
Vihang. Sounds like you installed one app and ran it, then
uninstalled the mcr for that app, installed the other mcr
and then ran its corresponding app. If so, this is exactly
what I experienced. So what I am trying to determine is if
there is a way to avoid the whole uninstall/install
mcrinstaller thing, and run both apps simultaenously. I am
guessing not but I am still hopeful, thanks again for the
responses guys :)

Subject: Problem deploying compiled apps

From: jason

Date: 19 Feb, 2008 19:41:41

Message: 5 of 6

I actually just had this problem and resolved it by
following the instructions in:
Deploying a Standalone Application on a Network Drive
in the matlab help.
you can install multiple compilers and copy them to a
network drive, then create a batch file (runfile.bat) that
adds the path of the compiler that was used to make that
file and then runs the file i.e.:

set path=<mcr_root>\<ver>\run time\<arch>;%path%
executable_mfile.exe;

Follow up question though...this works great for most
versions of matlab...however, I recently upgraded to 2007b
and now when I compile, users w/o 2007b, or matlab at all,
get this error:
The application failed to initialize properly (0xc0150002)

Any ideas?

Subject: Problem deploying compiled apps

From: Vihang Patil

Date: 20 Feb, 2008 07:10:08

Message: 6 of 6

"Corbin Holland" <cholland.nospam@opticalsciences.com>
wrote in message <fpf7vq$2eg$1@fred.mathworks.com>...
> Ok that being said let me see if I understand your
response
> Vihang. Sounds like you installed one app and ran it,
then
> uninstalled the mcr for that app, installed the other mcr
> and then ran its corresponding app. If so, this is
exactly
> what I experienced. So what I am trying to determine is
if
> there is a way to avoid the whole uninstall/install
> mcrinstaller thing, and run both apps simultaenously. I
am
> guessing not but I am still hopeful, thanks again for the
> responses guys :)

Yes, you can run both the applications on that same
machine, using the two MCR's. But I have tried it on
R14SP2 and R2006b. I dont know whether it will work the
same for your R2006b and R2007a. The best way would be to
install the MCR at your end and see for yourself if it
works. Try and compile some small applications like
magic.m from both the versions and execute it on the MCR
installed computer.
HTH
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