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

1 次查看(过去 30 天)
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??

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by