error LNK2019: 无法解析的外部符号 mxErrMsgTxt
Error using mex 正在创建库 computeScoreContrast.lib 和对象 computeScoreContrast.exp computeScoreContrast.obj : error LNK2019: 无法解析的外部符号 mxErrMsgTxt,该符号在函数mexFunction 中被引用 computeScoreContrast.mexw64 : fatal error LNK1120: 1 个无法解析的外部命令
修改方法:
打开原 .c 文件,按Ctrl + F,找到程序中的名字“mxErrMsgTxt”,将其修改为“mexErrMsgTxt”,保存。再在MATLAB中重新进行编译即可。
具体步骤可点击原文链接查看!
原文链接
祝成功!