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
Benjamin Thompson 2022년 3월 4일
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