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?
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
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
"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 :)
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)
"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
Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central. Read the complete Disclaimer prior to use.