从matlab导入头文件之后,编译之后,出现了标题上面的错误,是路径不对还是什么?怎么解决呢
/*
* Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool
*
* Generated by MATLAB(R) 7.8 and the Filter Design Toolbox 4.5.
*
* Generated on: 27-Apr-2014 15:17:56
*
*/
/*
* Discrete-Time FIR Filter (real)
* -------------------------------
* Filter Structure : Direct-Form FIR
* Filter Length : 16
* Stable : Yes
* Linear Phase : Yes (Type 2)
* Arithmetic : fixed
* Numerator : s16,16 -> [-5.000000e-001 5.000000e-001)
* Input : s16,15 -> [-1 1)
* Filter Internals : Full Precision
* Output : s34,31 -> [-4 4) (auto determined)
* Product : s31,31 -> [-5.000000e-001 5.000000e-001) (auto determined)
* Accumulator : s34,31 -> [-4 4) (auto determined)
* Round Mode : No rounding
* Overflow Mode : No overflow
*/
/* General type conversion for MATLAB generated C-code */
#include "tmwtypes.h"
/*
* Expected path to tmwtypes.h
* E:软件一览MATlabmatlabexterninclude mwtypes.h
*/
const int BL = 16;
const int16_T B[16] = {
0, 1582, -6554, -4736, -823, -15536, -8789, 29523, 29523,
-8789, -15536, -823, -4736, -6554, 1582, 0
};
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>