From: Christopher on
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.

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.

Can anybody enlighten me on a solution around this?
From: Walter Roberson on
Christopher wrote:

>
> 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.
>
> OR.. another possibility is that the MATLAB Compile Runtime (MCR) does
> not support the Image Processing Toolbox.

There are _parts_ of the Image Processing Toolbox that are not supported
by the compiler. The details are listed on the Compiler product pages.
From: Steven Lord on

"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


From: Christopher on
"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
>
From: Christopher on
"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?
 |  Next  |  Last
Pages: 1 2
Prev: example speech files
Next: Folder name list