2014-03-26 92 views

回答

1

我完全不理解你的問題。但遵循csvWrite文檔和date文檔。你可以這樣做

filename_with_date_string = date() + ".csv"; 
directory_path = TMPDIR; 

// Some matrix you want to save 
M = [1:10] * 0.1;  

// Create the file 
file = fullfile(directory_path, filename_with_date_string); 

// Fill it with your matrix 
csvWrite(M, file); 
+0

謝謝你的工作 – Divhi

相關問題