Muna
Muna

Reputation: 73

how i can save output in matlab?

I have question about how I can save the result of function

I have function returns two output , and this function in for loop so the value of output is changes .how I can save this output in folder.

Upvotes: 2

Views: 4201

Answers (2)

Sevenless
Sevenless

Reputation: 2855

for i=1:N
   [out1 out2] = myfun();
   name = ['mySaveNumber_' num2str(i)];
   save(name);
end

Upvotes: 2

SELECT -> copy -> paste your output in a text file (it means i dont get your question)

Upvotes: 0

Related Questions