From: Loren Shure on
In article <hvrghe$mgr$1(a)fred.mathworks.com>,
christopher.badman(a)au.saabgroup.com says...
> "Steven Lord" <slord(a)mathworks.com> wrote in message <hvqkkb$bqp$1(a)fred.mathworks.com>...
> >
> > "Christopher " <christopher.badman(a)au.saabgroup.com> wrote in message
> > news:hvphj8$a1$1(a)fred.mathworks.com...
> > > Probably a stupid question but can't see it documented anywhere...
> > >
> > > Let me set the scenario:
> > >
> > > I am running MATLAB on one machine with a licence for the Image Processing
> > > Toolbox. A coworker is running MATLAB on another machine with a licence
> > > for the MATLAB Compiler.
> > >
> > > The problem:
> > >
> > > I wish to compile my program which uses various Image Processing Toolbox
> > > functions. I send my code to my coworker who compiles it successfully.
> > > Upon execution, an error results stating that 'imshow' is undefined.
> > > Presumably because my coworker does not have the Image Processing Toolbox
> > > on his machine, there were no files to link to upon compilation and this
> > > is why the error results.
> >
> > I believe this is the correct reason for that error.
> >
> > > OR.. another possibility is that the MATLAB Compile Runtime (MCR) does not
> > > support the Image Processing Toolbox. The
> > > matlabroot\MATLAB Compiler Runtime\v711\toolbox directory does not contain
> > > anything about the Image Processing Toolbox so this has me questioning
> > > whether it could handle the .exe produced anyway.
> >
> > Well, if the MATLAB installation on your coworker's machine didn't have
> > Image Processing Toolbox available, why would it have a directory for that
> > toolbox in the MCR?
> >
> > > Can anybody enlighten me on a solution around this?
> >
> > Different amounts of different toolboxes are supported for use with MATLAB
> > Compiler, as documented on this page:
> >
> > http://www.mathworks.com/products/compiler/compiler_support.html
> >
> > The entry for Image Processing Toolbox says that the following can be
> > compiled:
> >
> > "All command line functionality including modular interactive tools"
> >
> > That indicates to me that IMSHOW is supported, particularly since it doesn't
> > appear on the list of GUIs that are part of Image Processing Toolbox but
> > cannot be compiled:
> >
> > "CPSELECT, IMTOOL, IMPLAY"
> >
> > --
> > Steve Lord
> > slord(a)mathworks.com
> > comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> > To contact Technical Support use the Contact Us link on
> > http://www.mathworks.com
> >
>
> I understand that the Compiler Website indicates that IMSHOW should be supported. My question is that are Image Processing Toolbox functions able to be compiled if the computer with the Compiler does not have the Toolbox installed?
>

No, the machine on which the Compiler is used to create the application
must also have a valid license for the Image Processing Toolbox.

--
Loren
http://blogs.mathworks.com/loren
http://matlabwiki.mathworks.com/MATLAB_FAQ
From: Christopher on
Loren Shure <loren.shure(a)mathworks.com> wrote in message <MPG.268be11a41c0f02c989681(a)news.mathworks.com>...
> In article <hvrghe$mgr$1(a)fred.mathworks.com>,
> christopher.badman(a)au.saabgroup.com says...
> > "Steven Lord" <slord(a)mathworks.com> wrote in message <hvqkkb$bqp$1(a)fred.mathworks.com>...
> > >
> > > "Christopher " <christopher.badman(a)au.saabgroup.com> wrote in message
> > > news:hvphj8$a1$1(a)fred.mathworks.com...
> > > > Probably a stupid question but can't see it documented anywhere...
> > > >
> > > > Let me set the scenario:
> > > >
> > > > I am running MATLAB on one machine with a licence for the Image Processing
> > > > Toolbox. A coworker is running MATLAB on another machine with a licence
> > > > for the MATLAB Compiler.
> > > >
> > > > The problem:
> > > >
> > > > I wish to compile my program which uses various Image Processing Toolbox
> > > > functions. I send my code to my coworker who compiles it successfully.
> > > > Upon execution, an error results stating that 'imshow' is undefined.
> > > > Presumably because my coworker does not have the Image Processing Toolbox
> > > > on his machine, there were no files to link to upon compilation and this
> > > > is why the error results.
> > >
> > > I believe this is the correct reason for that error.
> > >
> > > > OR.. another possibility is that the MATLAB Compile Runtime (MCR) does not
> > > > support the Image Processing Toolbox. The
> > > > matlabroot\MATLAB Compiler Runtime\v711\toolbox directory does not contain
> > > > anything about the Image Processing Toolbox so this has me questioning
> > > > whether it could handle the .exe produced anyway.
> > >
> > > Well, if the MATLAB installation on your coworker's machine didn't have
> > > Image Processing Toolbox available, why would it have a directory for that
> > > toolbox in the MCR?
> > >
> > > > Can anybody enlighten me on a solution around this?
> > >
> > > Different amounts of different toolboxes are supported for use with MATLAB
> > > Compiler, as documented on this page:
> > >
> > > http://www.mathworks.com/products/compiler/compiler_support.html
> > >
> > > The entry for Image Processing Toolbox says that the following can be
> > > compiled:
> > >
> > > "All command line functionality including modular interactive tools"
> > >
> > > That indicates to me that IMSHOW is supported, particularly since it doesn't
> > > appear on the list of GUIs that are part of Image Processing Toolbox but
> > > cannot be compiled:
> > >
> > > "CPSELECT, IMTOOL, IMPLAY"
> > >
> > > --
> > > Steve Lord
> > > slord(a)mathworks.com
> > > comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> > > To contact Technical Support use the Contact Us link on
> > > http://www.mathworks.com
> > >
> >
> > I understand that the Compiler Website indicates that IMSHOW should be supported. My question is that are Image Processing Toolbox functions able to be compiled if the computer with the Compiler does not have the Toolbox installed?
> >
>
> No, the machine on which the Compiler is used to create the application
> must also have a valid license for the Image Processing Toolbox.
>
> --
> Loren
> http://blogs.mathworks.com/loren
> http://matlabwiki.mathworks.com/MATLAB_FAQ

Thanks Loren,

For anybody else wondering the same thing I can confirm that this is the case. We were able to deactivate and reactivate licenses such that I now possess licences for both the Image Processing Toolbox and the MATLAB Compiler. Program was compiled without a hitch in no less than 2 minutes.

It's just a shame this didn't seem to be documented anywhere.. unless I happened to skip over it.

Chris
First  |  Prev  | 
Pages: 1 2
Prev: example speech files
Next: Folder name list