0
我在Matlab中将我的单元格数组(89 * 1单元格)转换为.Net字符串数组(字符串[])。我使用的下一个代码:如何将Matlab单元格字符串数组转换为.NET字符串数组
b = NET.createArray('System.String',length(a));
b = NET.convertArray(a{1},'System.String');
在结果我赶下一个消息:从“细胞”阵列型转换不被支持。
如果我这样做:'a = {'hello','world'}; b = NET.createArray('System.String',length(a)); b = NET.convertArray(a {1},'System.String');'我得到错误:**从'char'数组的转换类型不受支持。** –