Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对如何保存函数结果有疑问
我有函数返回两个输出,这个函数在 for 循环中,所以输出的值是变化的。我如何将这个输出保存在文件夹中。
for i=1:N [out1 out2] = myfun(); name = ['mySaveNumber_' num2str(i)]; save(name); end
选择 -> 复制 -> 将您的输出粘贴到文本文件中(这意味着我不明白您的问题)