2 fprintf('compiling stc_ml_extract ... ');
3 mex -output stc_ml_extract mex_stc_ml_extract.cpp stc_ml_c.cpp stc_embed_c.cpp stc_extract_c.cpp common.cpp -I../include
5 fprintf('compiling stc_pm1_pls_embed ... ');
6 mex -output stc_pm1_pls_embed mex_stc_pm1_pls_embed.cpp stc_ml_c.cpp stc_embed_c.cpp stc_extract_c.cpp common.cpp -I../include
8 fprintf('compiling stc_pm1_dls_embed ... ');
9 mex -output stc_pm1_dls_embed mex_stc_pm1_dls_embed.cpp stc_ml_c.cpp stc_embed_c.cpp stc_extract_c.cpp common.cpp -I../include
11 fprintf('compiling stc_pm2_pls_embed ... ');
12 mex -output stc_pm2_pls_embed mex_stc_pm2_pls_embed.cpp stc_ml_c.cpp stc_embed_c.cpp stc_extract_c.cpp common.cpp -I../include
14 fprintf('compiling stc_pm2_dls_embed ... ');
15 mex -output stc_pm2_dls_embed mex_stc_pm2_dls_embed.cpp stc_ml_c.cpp stc_embed_c.cpp stc_extract_c.cpp common.cpp -I../include
17 fprintf('compiling stc_embed ... ');
18 mex -output stc_embed stc_embed.cpp common.cpp -I../include
20 fprintf('compiling stc_extract ... ');
21 mex -output stc_extract stc_extract.cpp common.cpp -I../include
24 movefile('./*.mex*','../matlab');
25 fprintf('All compiled MEX files were moved to ../matlab folder.\n');