|
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
|