How can i monitor compile process while i use mex or slcovmex

1 visualización (últimos 30 días)
Hi i'm making c-mex s-function using a lot of c, h codes.
Since i need coverage test function so i use slcovmex to compile codes.
The problem is, there are a lot of codes so it takes over 2~3 hours to build mex64 file.
So i want to see compile process (ex> how it is going, what file is now compiled)
below is my code and there is three m files.
------------------------------------------------------------------------------------------------------------------------
<1. depend.m> (for compile '-I' option)
ipaths = {['-IC:/@_jonghan_Exp/SourceCode/LB'],...
['-IC:/@_jonghan_Exp/SourceCode/LB/MU'],...
['-IC:/@_jonghan_Exp/SourceCode/VL'],...
['-IC:/@_jonghan_Exp/SourceCode/VL/CEL'],...
...(skip)...
['-IC:/@_jonghan_Exp/SourceCode/BW/Tas/IA']};
------------------------------------------------------------------------------------------------------------------------
<2. macro.m> (for compile '-D' option)
Dpaths = {['-DS6_0=0xFF'],...
['-DM_IT=NO'],...
['-DM_FN=DFT'],...
['-DNIO_AN=0xFF'],...
...(skip)...
['-DMATLAB_MEX_FILE'],...
['-DUSE_MCLER']};
------------------------------------------------------------------------------------------------------------------------
<3. compile.m> (execute compile)
slcovmex({'-c','C:/@_jonghan_Exp/SourceCode/AS/TSL/Is/SC/Ivut.c',ipaths{:}, Dpaths{:}}, ...
{'-c','C:/@_jonghan_Exp/SourceCode/AS/FL/AC/SC/Atrl.c',ipaths{:}, Dpaths{:}}, ...
{'-c','C:/@_jonghan_Exp/SourceCode/AS/FL/AC/SC/Aut.c',ipaths{:}, Dpaths{:}}, ...
...(skip)...
'L_CoonF.obj', ...
'F_CoonF.obj', ...
'RTapApi.obj', ...
'-output', 'sf_jonghan_Iko'});
------------------------------------------------------------------------------------------------------------------------
is there any compile option to monitor compile progress??

Respuesta aceptada

Benjamin Thompson
Benjamin Thompson el 4 de Mzo. de 2022
Type "help mex" for a list of options that go with mex. You probably want to add the -v option for Verbose output.

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by