chez moi ça marche nickel
1 2 3 4
| %#function mean
function test
in = [1,2,3,4,5,6,7,9,10];
mean(in) |
ensuite je suis la documentation...
>> mcc -vW main -T link:exe test
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
| Compiler version: 4.4 (R2006a)
Depfun main loop, iteration 1
Processing C:\Program Files\MATLABR14\toolbox\matlab\mcc.enc
1 item(s) added.
Processing C:\Program Files\MATLABR14\toolbox\optim\mcc.enc
Processing C:\Program Files\MATLABR14\toolbox\database\mcc.enc
1 item(s) added.
Processing dependencies...
0 item(s) added.
Depfun main loop, iteration 2
Processing dependencies...
0 item(s) added.
Processing include files...
2 item(s) added.
Processing exclude list...
0 item(s) excluded by M-file compilabilty rules.
Processing directories installed with MCR...
671 item(s) excluded because they ship with the MCR.
The file mccExcludedFiles.log contains a list of functions excluded from the CTF archive.
2 item(s) added.
Generating MATLAB path for the compiled application...
Created 36 path items.
Depfun main loop converged in 2 iterations, total number of files = 69
Begin validation of MEX files: Thu Jun 15 16:16:52 2006
Validating 'C:\Program Files\MATLABR14\toolbox\compiler\deploy\readline.mexw32'.
No conflicting M-file found.
End validation of MEX files: Thu Jun 15 16:16:52 2006
Deleting 1 temporary MEX authorization files.
Removing: 'C:\DOCUME~1\zozo_t\LOCALS~1\Temp\mathworks_tmp_5778.auth'.
Parsing file "C:\xwork\tests\ploum\test.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLABR14\toolbox\compiler\deploy\matlabrc.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLABR14\toolbox\compiler\dirname.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLABR14\toolbox\compiler\deploy\printdlg.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\datafun\mean.m"
(Referenced from: "C:\xwork\tests\ploum\test.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\compiler\deploy\hgrc.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\matlabrc.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\strfun\str2double.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\matlabrc.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\general\usejava.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\matlabrc.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\iofun\fileparts.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\dirname.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\timefun\datestr.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\graphics\getappdata.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\datatypes\isfield.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\general\ispc.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\uitools\msgbox.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\timefun\now.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\datatypes\num2cell.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\strfun\num2str.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\graphics\orient.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\graphics\print.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\strfun\str2num.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\iofun\tempname.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\deployprint.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\general\path.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\printdlg.m").
Parsing file "C:\Program Files\MATLABR14\toolbox\matlab\general\rmpath.m"
(Referenced from: "C:\Program Files\MATLABR14\toolbox\compiler\deploy\printdlg.m").
Generating file "test_main.c".
Generating file "test_mcc_component_data.c".
Executing command: mbuild -O -v -output "test" "test_main.c" "test_mcc_component_data.c" -link exe
This is mbuild Copyright 1984-2005 The MathWorks, Inc.
-> Default options filename found in C:\Documents and Settings\zozo_t\Application Data\MathWorks\MATLAB\R2006a
----------------------------------------------------------------
-> Options file = C:\Documents and Settings\zozo_t\Application Data\MathWorks\MATLAB\R2006a\compopts.bat
-> COMPILER = lcc
-> Compiler flags:
COMPFLAGS = -c -Zp8 -I"C:\Program Files\MATLABR14\sys\lcc\include" -noregistrylookup
OPTIMFLAGS = -DNDEBUG
DEBUGFLAGS = -g4
arguments =
Name switch = -Fo
-> Pre-linking commands =
-> LINKER = lcclnk
-> Link directives:
LINKFLAGS = -tmpdir "." -L"C:\Program Files\MATLABR14\sys\lcc\lib" -libpath "C:\Program Files\MATLABR14\extern\lib\win32\lcc"
LINKFLAGSPOST = mclmcrrt.lib
Name directive = -o "test.exe"
File link directive =
Lib. link directive =
Rsp file indicator = @
-> Resource Compiler =
-> Resource Linker =
----------------------------------------------------------------
--> "lcc -c -Zp8 -I"C:\Program Files\MATLABR14\sys\lcc\include" -noregistrylookup -FoC:\DOCUME~1\zozo_t\LOCALS~1\Temp\test_main.obj -I"C:\Program Files\MATLABR14"\extern\include -DNDEBUG test_main.c"
--> "lcc -c -Zp8 -I"C:\Program Files\MATLABR14\sys\lcc\include" -noregistrylookup -FoC:\DOCUME~1\zozo_t\LOCALS~1\Temp\test_mcc_component_data.obj -I"C:\Program Files\MATLABR14"\extern\include -DNDEBUG test_mcc_component_data.c"
Contents of 7007_tmp.rsp:
C:\DOCUME~1\zozo_t\LOCALS~1\Temp\test_main.obj C:\DOCUME~1\zozo_t\LOCALS~1\Temp\test_mcc_component_data.obj
--> "lcclnk -o "test.exe" -tmpdir "." -L"C:\Program Files\MATLABR14\sys\lcc\lib" -libpath "C:\Program Files\MATLABR14\extern\lib\win32\lcc" @7007_tmp.rsp mclmcrrt.lib"
--> "if exist C:\DOCUME~1\zozo_t\LOCALS~1\Temp_lib7007.def del C:\DOCUME~1\zozo_t\LOCALS~1\Temp_lib7007.def"
--> "if exist %LIB_NAME_stub.obj del %LIB_NAME_stub.obj" |
ensuite je teste sous la console...
1 2 3 4 5
| C:\>C:\xwork\tests\Thomas\test.exe
ans =
5.2222 |
edit : 5.2222 parce que j'ai oublié le 8
Partager