【发布时间】:2021-12-13 20:45:46
【问题描述】:
我正在尝试在 MatLab 中动态调用 gather() 函数。
我目前正在做这样的事情:
for index_1 = 1:1:document_count
current_filename = "random_file"+index_1+".mat";
data = load(current_filename);
pci= gather(datasets.current_filename.pci.dist);
end
在上面,数据已加载,但收集函数失败,我假设是因为我在中间传递了一个字符串。我不确定有什么解决方法。
任何建议将不胜感激。
【问题讨论】:
-
this 有帮助吗?