yuanfeni:CSDN认证博客专家
博客地址:https://blog.csdn.net/yuan187393
解决问题:only integer scalar arrays can be converted to a scalar index