How can i monitor compile process while i use mex or slcovmex
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
종한 김
le 4 Mar 2022
Réponse apportée : Benjamin Thompson
le 4 Mar 2022
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??
Réponse acceptée
Benjamin Thompson
le 4 Mar 2022
Type "help mex" for a list of options that go with mex. You probably want to add the -v option for Verbose output.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Econometrics Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!