资 源 简 介
本代码为CDMA功率控制算法 #include "tpc9_sfun.h"#include "tpc9_sfun_c1.h"#include "tpc9_sfun_c2.h"/* Global machine event */uint8_T _sfEvent_;#include "tpc9_sfun_debug_macros.h"unsigned int _tpc9MachineNumber_=UNREASONABLE_NUMBER;unsigned int sf_tpc9_process_check_sum_call( int nlhs, mxArray * plhs[], int nrhs, const mxArray * prhs[] ){#ifdef MATLAB_MEX_FILE char commandName[20]; if (nrhs<1 || !mxIsChar(prhs[0]) ) return 0; /* Possible call to get the checksum */ mxGetString(prhs[0], commandName,sizeof(commandName)/sizeof(char)); commandName[(sizeof(commandName)/sizeof(char)-1)] = " "; if(strcmp(commandName,"sf_get_check_sum")) return 0; plhs[0] = mxCreateDoubleMatrix( 1,4,mxREAL); if(nrhs>1 && mxIsChar(p