📄 make_all.m
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Property of Freescale
% Freescale Confidential Proprietary
% Freescale Copyright (C) 2005 All rights reserved
% ----------------------------------------------------------------------------
% $RCSfile: make_all.m.rca $
% $Revision: 1.4 $
% $Date: Tue Dec 19 16:13:09 2006 $
% Target: Matlab
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Builds all the dlls needed for Fixed Point simulations from the
% corresponding MEX wrappers.
%
% status = make_all
%
% status corresponds to the corresponding tests.
%
%-------------------------------------------------------------------------%
%-- Fixed points simulations need the use of some fixed
% points kernels:
% - UP/DL
% - ModMapper
% - TP/DL
% - fpfft
% - TP/UL
% - fpifft
% - FP/UL
% - SlotExtraction
% - CEIntraTile
% - EqZF
% (MRC not used YET)
% (not DemodMapper, no C function with min dist algo)
%-------------------------------------------------------------------------%
%-- Matlab files used by this file
% make_ModMapper
% test_ModMapper
% make_fpfft
% test_fpfft
% make_fpifft
% test_fpifft
% make_SlotExtraction
% test_SlotExtraction
% make_CEIntraTile
% test_CEIntraTile
% make_EqZF
% test_EqZF
%-- End of list
function status = make_all
if ispc %Little Endian on pc
additionalInfo=' (Little Endian)';
else %Big Endian elsewhere
additionalInfo=' (Big Endian)';
end
status=[];
%make DLL for ModMapper
cd ../../UP/DL/SPKernel/ModMap/matlab/mex
make_ModMapper
status(end+1) = test_ModMapper;
cd ../../../../../../CM/matlab
%make DLL for FFT & IFFT
cd ../SPKernel/FFT/matlab/mex
make_fpfft
status(end+1) = test_fpfft;
make_fpifft
status(end+1) = test_fpifft;
cd ../../../../matlab
%make DLL for SlotExtraction
cd ../../FP/UL/SPKernel/SlotExtraction/matlab/mex
make_SlotExtraction
status(end+1) =test_SlotExtraction ;
cd ../../../../../../CM/matlab
%make DLL for CEIntraTile
cd ../../FP/UL/SPKernel/CEIntraTile/matlab/mex
make_CEIntraTile
status(end+1) = test_CEIntraTile ;
cd ../../../../../../CM/matlab
%make DLL for EqZF
cd ../../FP/UL/SPKernel/EqZF/matlab/mex
make_EqZF
status(end+1) = test_EqZF ;
cd ../../../../../../CM/matlab
disp(' ') ; disp(' ');
disp(' ***************************');
if all(status)==1
disp([' *** DLLs PASSED ***' ])
disp('=> All Dll have been created and tested OK')
else
disp([' *** DLLs FAILURE ***' ])
disp('Errors with some DLLs')
end
disp(' ***************************');
%-- Create report
disp(' ')
if ispc
file = ['make_allReport_PC.txt'];
s = 'Created DLLs for PC.';
else
file = ['make_allReport_UNIX.txt'];
s = 'Created DLLs for UNIX.';
end
if exist(file)
delete(file)
disp(['Updating ' file])
else
disp(['Creating ' file])
end
fid=fopen(file,'w');
fprintf(fid,s);
statusReport = fclose(fid); % close file other access might be denied next time
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -