delta sigma toolbox simulateDSM.c错误
录入:edatop.com 阅读:
我在使用delta sigma toolbox的时候遇上以下错误:
simulateDSM.c
simulateDSM.c(141) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(142) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(147) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(155) : warning C4090: 'function' : different 'const' qualifiers
simulateDSM.c(158) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(170) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(178) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(183) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(363) : error C2371: 'mexFunction' : redefinition; different basic types
C:\Program Files\MATLAB\extern\include\mex.h(146) : see declaration of 'mexFunction'
C:\PROGRA~1\MATLAB\BIN\MEX.PL: Error: Compile of 'simulateDSM.c' failed.
在32位电脑里mex simulateDSM.c很顺利,但在64位电脑里就遇到以上错误,不知道怎么修改程序才能工作正常,谢谢。
simulateDSM.c
simulateDSM.c(141) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(142) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(147) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(155) : warning C4090: 'function' : different 'const' qualifiers
simulateDSM.c(158) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(170) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(178) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(183) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
simulateDSM.c(363) : error C2371: 'mexFunction' : redefinition; different basic types
C:\Program Files\MATLAB\extern\include\mex.h(146) : see declaration of 'mexFunction'
C:\PROGRA~1\MATLAB\BIN\MEX.PL: Error: Compile of 'simulateDSM.c' failed.
在32位电脑里mex simulateDSM.c很顺利,但在64位电脑里就遇到以上错误,不知道怎么修改程序才能工作正常,谢谢。
申明:网友回复良莠不齐,仅供参考。如需专业解答,请学习本站推出的微波射频专业培训课程。
上一篇:BiCMOS工艺
下一篇:*全差分DAC偶次谐波高的原因?*