Thread Subject: Diploytool

Subject: Diploytool

From: Chirackel Yoonus

Date: 22 Sep, 2008 09:17:24

Message: 1 of 7

I am using Matlab R2008a and compiler Lcc-win32. I want to covert my matlab files into xla where the people who doesn't having Matlab can use. Please anybody tell me how I can make use of Diploytool for the same

Subject: Diploytool

From: Steven Lord

Date: 22 Sep, 2008 13:21:47

Message: 2 of 7


"Chirackel Yoonus" <yoonus@ifmr.ac.in> wrote in message
news:16044252.1222075074932.JavaMail.jakarta@nitrogen.mathforum.org...
>I am using Matlab R2008a and compiler Lcc-win32. I want to covert my matlab
>files into xla where the people who doesn't having Matlab can use. Please
>anybody tell me how I can make use of Diploytool for the same

I think from the fact that you mentioned xla that you're using MATLAB
Builder EX to target Microsoft Excel, correct? If so, I suggest walking
through the Usage Examples in the MATLAB Builder EX documentation:

http://www.mathworks.com/access/helpdesk/help/toolbox/matlabxl/

The Building a Deployable Application section of the Getting Started chapter
of the documentation may also be useful:

http://www.mathworks.com/access/helpdesk/help/toolbox/matlabxl/ug/bqnqbq_-1.html

--
Steve Lord
slord@mathworks.com

Subject: Diploytool

From: CAY

Date: 23 Sep, 2008 09:41:58

Message: 3 of 7

On Sep 22, 6:21=A0pm, "Steven Lord" <sl...@mathworks.com> wrote:
> "ChirackelYoonus" <yoo...@ifmr.ac.in> wrote in message
>
> news:16044252.1222075074932.JavaMail.jakarta@nitrogen.mathforum.org...
>
> >I am using Matlab R2008a and compiler Lcc-win32. I want to covert my mat=
lab
> >files into xla where the people who doesn't having Matlab can use. Pleas=
e
> >anybody tell me how I can make use of Diploytool for the same
>
> I think from the fact that you mentioned xla that you're using MATLAB
> Builder EX to target Microsoft Excel, correct? =A0If so, I suggest walkin=
g
> through the Usage Examples in the MATLAB Builder EX documentation:
>
> http://www.mathworks.com/access/helpdesk/help/toolbox/matlabxl/
>
> The Building a Deployable Application section of the Getting Started chap=
ter
> of the documentation may also be useful:
>
> http://www.mathworks.com/access/helpdesk/help/toolbox/matlabxl/ug/bqn...
>
> --
> Steve Lord
> sl...@mathworks.com

Hi Steve,
I tried to do the same as in document. But I get error message
Build output( 2008-09-23 13:23:47).

mcc -F 'C:\Documents and Settings\yoonus.IFMRNT\My Documents\Downloads
\Matalb code\myxlfun.prj'

Compiler version: 4.8 (R2008a)
mcc -o 'myxlfun' -W 'WinMain:myxlfun' -d 'C:\Documents and Settings
\yoonus.IFMRNT\My Documents\Downloads\Matalb code\myxlfun\src' -T
'link:exe' -v 'C:\Documents and Settings\yoonus.IFMRNT\My Documents
\Downloads\Matalb code\doubleit.m'
Processing C:\Program Files\MATLAB\R2008a\toolbox\matlab\mcc.enc
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file C:\Documents and Settings\yoonus.IFMRNT\My Documents\Downloads
\Matalb code\myxlfun\src\mccExcludedFiles.log contains a list of
functions excluded from the CTF archive.
1 item(s) added.
Generating MATLAB path for the compiled application...
Created 38 path items.
Begin validation of MEX files: Tue Sep 23 13:24:46 2008
Validating 'C:\Program Files\MATLAB\R2008a\toolbox\compiler\deploy
\deploywhich.mexw32'.
No conflicting M-file found.
Validating 'C:\Program Files\MATLAB\R2008a\toolbox\compiler\deploy
\readline.mexw32'.
No conflicting M-file found.
End validation of MEX files: Tue Sep 23 13:24:46 2008
Deleting 2 temporary MEX authorization files.
Removing: 'C:\DOCUME~1\YOONUS~1.IFM\LOCALS~1\Temp
\mathworks_tmp_3692_27415_3692.auth'.
Removing: 'C:\DOCUME~1\YOONUS~1.IFM\LOCALS~1\Temp
\mathworks_tmp_3692_22231_3692.auth'.
Parsing file "C:\Documents and Settings\yoonus.IFMRNT\My Documents
\Downloads\Matalb code\doubleit.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLAB\R2008a\toolbox\compiler\deploy
\deployprint.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLAB\R2008a\toolbox\compiler\deploy
\printdlg.m"
(Referenced from: "Compiler Command Line").
Generating file "C:\Documents and Settings\yoonus.IFMRNT\My Documents
\Downloads\Matalb code\myxlfun\src\myxlfun_main.c".
Generating file "C:\Documents and Settings\yoonus.IFMRNT\My Documents
\Downloads\Matalb code\myxlfun\src\readme.txt".
Generating file "C:\Documents and Settings\yoonus.IFMRNT\My Documents
\Downloads\Matalb code\myxlfun\src\myxlfun_mcc_component_data.c".
Executing command: mbuild -O -v -output "myxlfun" -I"C:\Documents and
Settings\yoonus.IFMRNT\My Documents\Downloads\Matalb code\myxlfun\src"
"C:\Documents and Settings\yoonus.IFMRNT\My Documents\Downloads\Matalb
code\myxlfun\src\myxlfun_main.c" "C:\Documents and Settings
\yoonus.IFMRNT\My Documents\Downloads\Matalb code\myxlfun\src
\myxlfun_mcc_component_data.c" -link exe -outdir "C:\Documents and
Settings\yoonus.IFMRNT\My Documents\Downloads\Matalb code\myxlfun
\src"
 This is mbuild Copyright 1984-2004 The MathWorks, Inc.

-> Default options filename found in C:\Documents and Settings
\yoonus.IFMRNT\Application Data\MathWorks\MATLAB\R14
----------------------------------------------------------------
-> Options file =3D C:\Documents and Settings\yoonus.IFMRNT
\Application Data\MathWorks\MATLAB\R14\compopts.bat
-> COMPILER =3D cl
-> Compiler flags:
         COMPFLAGS =3D -c -Zp8 -G5 -GX -W3 -nologo
         OPTIMFLAGS =3D -O2 -DNDEBUG
         DEBUGFLAGS =3D -Zi -Fd"C:\Documents and Settings
\yoonus.IFMRNT\My Documents\Downloads\Matalb code\myxlfun\src
\myxlfun.pdb"
         arguments =3D "-IC:\Documents and Settings
\yoonus.IFMRNT\My Documents\Downloads\Matalb code\myxlfun\src"
         Name switch =3D /Fo
-> Pre-linking commands =3D
-> LINKER =3D link
-> Link directives:
         LINKFLAGS =3D kernel32.lib user32.lib gdi32.lib
advapi32.lib oleaut32.lib ole32.lib /LIBPATH:"C:\MATLAB7\\extern\lib
\win32\microsoft\msvc60" /nologo mclmcrrt.lib
         LINKFLAGSPOST =3D
         Name directive =3D "/out:C:\Documents and Settings
\yoonus.IFMRNT\My Documents\Downloads\Matalb code\myxlfun\src
\myxlfun.exe"
         File link directive =3D
         Lib. link directive =3D
         Rsp file indicator =3D @
-> Resource Compiler =3D rc /fo "C:\Documents and Settings
\yoonus.IFMRNT\My Documents\Downloads\Matalb code\myxlfun\src\.res"
-> Resource Linker =3D
----------------------------------------------------------------

  Could not find the compiler "cl" on the DOS path.
  Use mbuild -setup to configure your environment properly.


  C:\MATLAB7\\BIN\WIN32\MEX.PL: Error: Unable to locate compiler.


Error: An error occurred while shelling out to mbuild (error code =3D
255).
Unable to build executable.
??? Error using =3D=3D> mcc
Error executing mcc, return status =3D 1.


There were errors during compilation process.

Please help me out from this error

Subject: Diploytool

From: Steven Lord

Date: 23 Sep, 2008 12:44:29

Message: 4 of 7


"CAY" <kalanad@gmail.com> wrote in message
news:8fdaad38-0eac-4d7b-8c47-6a7d7abb6f26@73g2000hsx.googlegroups.com...

*snip*

> Could not find the compiler "cl" on the DOS path.
> Use mbuild -setup to configure your environment properly.

Searching for the first line of this message on the support website:

http://www.mathworks.com/support

found one hit:

http://www.mathworks.com/support/solutions/data/1-1I5TNS.html?solution=1-1I5TNS

If the steps there don't resolve this error, I think you're going to need to
contact Technical Support for help, as I'm not sure where the problem lies.

--
Steve Lord
slord@mathworks.com

Subject: Diploytool

From: Chirackel Yoonus

Date: 24 Sep, 2008 03:59:02

Message: 5 of 7

"Steven Lord" <slord@mathworks.com> wrote in message <gbaobd$m8q$1@fred.mathworks.com>...
>
> "CAY" <kalanad@gmail.com> wrote in message
> news:8fdaad38-0eac-4d7b-8c47-6a7d7abb6f26@73g2000hsx.googlegroups.com...
>
> *snip*
>
> > Could not find the compiler "cl" on the DOS path.
> > Use mbuild -setup to configure your environment properly.
>
> Searching for the first line of this message on the support website:
>
> http://www.mathworks.com/support
>
> found one hit:
>
> http://www.mathworks.com/support/solutions/data/1-1I5TNS.html?solution=1-1I5TNS
>
> If the steps there don't resolve this error, I think you're going to need to
> contact Technical Support for help, as I'm not sure where the problem lies.
>
> --
> Steve Lord
> slord@mathworks.com
>


It says I need to have visual studio also. I don't have visual studio. Let me try to install visual studio and let me check how it works

thanks
Yoonus

Subject: Diploytool

From: Chirackel Yoonus

Date: 26 Sep, 2008 05:05:03

Message: 6 of 7

"Chirackel Yoonus" <yoonus@ifmr.ac.in> wrote in message <gbcdu6$4h3$1@fred.mathworks.com>...
> "Steven Lord" <slord@mathworks.com> wrote in message <gbaobd$m8q$1@fred.mathworks.com>...
> >
> > "CAY" <kalanad@gmail.com> wrote in message
> > news:8fdaad38-0eac-4d7b-8c47-6a7d7abb6f26@73g2000hsx.googlegroups.com...
> >
> > *snip*
> >
> > > Could not find the compiler "cl" on the DOS path.
> > > Use mbuild -setup to configure your environment properly.
> >
> > Searching for the first line of this message on the support website:
> >
> > http://www.mathworks.com/support
> >
> > found one hit:
> >
> > http://www.mathworks.com/support/solutions/data/1-1I5TNS.html?solution=1-1I5TNS
> >
> > If the steps there don't resolve this error, I think you're going to need to
> > contact Technical Support for help, as I'm not sure where the problem lies.
> >
> > --
> > Steve Lord
> > slord@mathworks.com
> >
>
>
> It says I need to have visual studio also. I don't have visual studio. Let me try to install visual studio and let me check how it works
>
> thanks
> Yoonus
>

Hi Steve,
the first part of my problem got solved. Now I can create standalone application using deploy tool. But still I am looking to buy Builder Ex and Visual studio to make xla file.

Thanks
Yoonus

Subject: Diploytool

From: Steven Lord

Date: 26 Sep, 2008 14:35:38

Message: 7 of 7


"Chirackel Yoonus" <yoonus@ifmr.ac.in> wrote in message
news:gbhqhv$7o9$1@fred.mathworks.com...
> "Chirackel Yoonus" <yoonus@ifmr.ac.in> wrote in message
> <gbcdu6$4h3$1@fred.mathworks.com>...

*snip*

> Hi Steve,
> the first part of my problem got solved. Now I can create standalone
> application using deploy tool. But still I am looking to buy Builder Ex
> and Visual studio to make xla file.

For that, I recommend you contact your local office or the online store on
www.mathworks.com. You can find the contact information for your local
office on our main webpage using the "Contact Us" link at the top of the
main MathWorks page.

--
Steve Lord
slord@mathworks.com

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

Contact us at files@mathworks.com