有一些遇到过的问错误提示
一、“The left-hand side has been constrained to be non-complex, but the right-hand side is complex. To correct this problem, make the right-hand side real using the function REAL, or change the initial assignment to the left-hand side variable to be a complex value using the COMPLEX function.”
MATLAB里面的类型我也不太明白,大概是复数和实数不能互转,我都把他们用函数real()转换成了实数,如代码中注释的部。
2、“Undefined function or variable 'sparse'.”
关于稀疏矩阵的,居然找到一大堆sparse.m,每个都设断点,居然没有一个是,无奈只好自己写了,运气好能用
3、生成一堆头文件和源文件,在lib文件中,导入VS中,注意stdafx.h