Prev: daspk in matlab
Next: Polyfit
From: Chavo DeMatanzas on 30 Oct 2007 09:13 no distribution of matlab compiled execs is encouraged by Matlab. Joey <joey2007(a)gmail.com> wrote in message <1193743899.004709.119200(a)k79g2000hse.googlegroups.com>... > On Oct 29, 3:53 pm, rober...(a)ibd.nrc-cnrc.gc.ca (Walter Roberson) > wrote: > > In article <1193686263.785577.259...(a)22g2000hsm.googlegroups.com>, > > > > Joey <joey2...(a)gmail.com> wrote: > > >Thank you for your suggestions. I have found that "MCRInstaller.exe" > > >and tried to installed it on a computer without matlab. I was told > > >that .NET framework is not installed, please install it first. How can > > >I install .NET framework? Where can I find a installation file? > > > > Internet Explorer -> Tools -> Windows Updates -> Custom Update > > and in the list of Optional Updates, ask to install .NET 2 > > (I'm guessing; .NET 3 is out but probably not used by Matlab yet.) > > > > -- > > "Okay, buzzwords only. Two syllables, tops." -- Laurie Anderson > > Thank you Walter, Randy and ImageAnalyst. The exe program finally > worked. I will try to compile a more complex code. By the way, could > anyone give me some suggestions about whether it is legal to copy that > "MCRInstaller.exe" for someone else so that they can run the compiled > exe file? > > Best, > > Joey >
From: Randy Poe on 30 Oct 2007 11:01 On Oct 29, 3:31 pm, Joey <joey2...(a)gmail.com> wrote: > Dear Randy and ImageAnalyst: > > Thank you for your suggestions. I have found that "MCRInstaller.exe" > and tried to installed it on a computer without matlab. I was told > that .NET framework is not installed, please install it first. How can > I install .NET framework? Where can I find a installation file? > > By the way, if I develop the exe file for someone else, will it > violate the copyright of matlab if I also give this "MCRInstaller.exe" > to that person? > > Thank you very much! > > Joey >From the Compiler help page "Use MATLAB® Compiler to convert MATLAB® programs to applications and libraries that you can distribute to end users who do not have MATLAB installed." Since MCRInstaller is part of the deployment, I would say there is not a restriction on distributing it. Sorry I didn't realize the problem with .NET. The documentation does mention that: "Note The MCR is version-specific, so make sure that you tell end users of your components which version of the MCR is required. If you are deploying .NET component applications to programmers or end users, make sure to tell them to install .NET Framework before installing the MCR. The MCRinstaller.exe must detect the presence of .NET framework on a system for it to install MCR .NET support. Alternatively, you can package .NET Framework with the component installer that you provide to them as part of your deployment package." I see no restrictions or guidelines on trademark notices mentioned anywhere in the compiler documentation. Sometimes makers of a development product will require that you include a statement like "Built with MATLAB (R)" on your labeling and documentation, and will even specify the size and placement of such labeling. I can't find any such requirement here. Perhaps someone from Mathworks will comment on the distribution and marking restrictions/requirements? - Randy
From: Joey on 30 Oct 2007 11:37 I see, thank you. Joey On Oct 30, 9:13 am, "Chavo DeMatanzas" <sa...(a)yahoo.com> wrote: > no distribution of matlab compiled execs is encouraged by > Matlab. > > Joey <joey2...(a)gmail.com> wrote in message > > <1193743899.004709.119...(a)k79g2000hse.googlegroups.com>...> On Oct 29, 3:53 pm, rober...(a)ibd.nrc-cnrc.gc.ca (Walter > Roberson) > > wrote: > > > In article > > <1193686263.785577.259...(a)22g2000hsm.googlegroups.com>, > > > > Joey <joey2...(a)gmail.com> wrote: > > > >Thank you for your suggestions. I have found > > that "MCRInstaller.exe" > > > > > > >and tried to installed it on a computer without > matlab. I was told > > > >that .NET framework is not installed, please install > it first. How can > > > >I install .NET framework? Where can I find a > installation file? > > > > Internet Explorer -> Tools -> Windows Updates -> Custom > Update > > > and in the list of Optional Updates, ask to > install .NET 2 > > > (I'm guessing; .NET 3 is out but probably not used by > Matlab yet.) > > > > -- > > > "Okay, buzzwords only. Two syllables, tops." -- > Laurie Anderson > > > Thank you Walter, Randy and ImageAnalyst. The exe program > finally > > worked. I will try to compile a more complex code. By the > way, could > > anyone give me some suggestions about whether it is legal > to copy that > > "MCRInstaller.exe" for someone else so that they can run > the compiled > > exe file? > > > Best, > > > Joey- Hide quoted text - > > - Show quoted text -
From: Joey on 31 Oct 2007 11:47 On Oct 30, 11:01 am, Randy Poe <poespam-t...(a)yahoo.com> wrote: > On Oct 29, 3:31 pm, Joey <joey2...(a)gmail.com> wrote: > > > Dear Randy and ImageAnalyst: > > > Thank you for your suggestions. I have found that "MCRInstaller.exe" > > and tried to installed it on a computer without matlab. I was told > > that .NET framework is not installed, please install it first. How can > > I install .NET framework? Where can I find a installation file? > > > By the way, if I develop the exe file for someone else, will it > > violate the copyright of matlab if I also give this "MCRInstaller.exe" > > to that person? > > > Thank you very much! > > > Joey > >From the Compiler help page > > "Use MATLAB® Compiler to convert MATLAB® programs to > applications and libraries that you can distribute to end users > who do not have MATLAB installed." > > Since MCRInstaller is part of the deployment, I would say > there is not a restriction on distributing it. > > Sorry I didn't realize the problem with .NET. The documentation > does mention that: > > "Note The MCR is version-specific, so make sure that you tell > end users of your components which version of the MCR is required. > > If you are deploying .NET component applications to programmers > or end users, make sure to tell them to install .NET Framework > before installing the MCR. The MCRinstaller.exe must detect > the presence of .NET framework on a system for it to install > MCR .NET support. Alternatively, you can package .NET > Framework with the component installer that you provide to > them as part of your deployment package." > > I see no restrictions or guidelines on trademark notices > mentioned anywhere in the compiler documentation. Sometimes > makers of a development product will require that you > include a statement like "Built with MATLAB (R)" on > your labeling and documentation, and will even specify > the size and placement of such labeling. I can't find any such > requirement here. > > Perhaps someone from Mathworks will comment on the > distribution and marking restrictions/requirements? > > - Randy Dear Randy: Thank you very much for your kindly help. Your suggestions helps a lot. A sample stand alone executable file that could finish a simple mathematic calculation was developed and tested on a pc without matlab successfully. I met a problem in developping exe file using "mcc -m mycode" mycode.m load a few subfuctions, load several neural networks It works fine when I tested in matlab workspace. I was told that Class ":all:" is an unknown class, Element(s) of this class in array "com60" have been converted to structures. The problem lies in the compiling of ANN tool box. The mat data file in which the trained networks were stored can not be loaded properly in the executable. Further more, some commands in the ANN toolbox can not be recognized when compiled, such as "sim" command. How can I use Matlab compiler to finish this successfully, or do I need to get another compiler to develop this executable? Thanks a lot! Joey
From: ImageAnalyst on 1 Nov 2007 11:37
On Oct 30, 9:13 am, "Chavo DeMatanzas" <sa...(a)yahoo.com> wrote: > no distribution of matlab compiled execs is encouraged by > Matlab. > ================================================= Nonsense. You, as a developer, buy the compiler and can compile your MATLAB code into a standalone executable. Then you can distrubute that executable plus the MCRInstaller executable as much as you want with no additional fee. It is encouraged by The Mathworks, in fact that's the whole reason they created the compiler and runtime library in the first place. Not only that, but you can also install a complete version of the MATLAB environment on your home computer so that you can work at home without having to bring your work computer home with you. Regards, ImageAnalyst =============================================================== |