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

2 ビュー (過去 30 日間)
종한 김
종한 김 2022 年 3 月 4 日
回答済み: Benjamin Thompson 2022 年 3 月 4 日
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 Center および File ExchangeMATLAB Compiler についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by