WAMAWAMA / TNSCUI2020-Seg-Rank1st

This is the source code of the 1st place solution for segmentation task in MICCAI 2020 TN-SCUI challenge.
481 stars 78 forks source link

您好,我在运行step1_prerocessing.m时。发生了如下错误:未定义与 'cell' 类型的输入参数相对应的函数 'string'。 #4

Closed sktyut closed 4 years ago

sktyut commented 4 years ago

您好,我在运行step1_prerocessing.m时。发生了如下错误:

未定义与 'cell' 类型的输入参数相对应的函数 'string'。

出错 step1_preprocessing (line 33) fprintf(fid,'%s,%s,%s\n',string(strrr));

WAMAWAMA commented 4 years ago

你好你好,这个可能是因为我是2018a的问题,matlab2018a的话,这个操作是妹有任何问题的,如果你是其他版本,可以修改代码如下

fid=fopen('qwe.csv','w');
strrr=['ID','CATE','size'];
fprintf(fid,'%s,%s,%s\n','ID','CATE','size');
fclose(fid);