Matlab报错: 字符串标量或字符向量必须具备有效的解释器语法:\hat{a} 为了能够产生需要的结果,需要使用下面的指令,就可以得到正确的坐标名称 xlabel(’ $\hat{a}$’, ‘interpreter’, ‘latex’)