Export data to excel or text file directly
1 次查看(过去 30 天)
显示 更早的评论
Hello,
As a result of below coding I get the file name "out".
Origin = (1:81)';
Destination = (1:81)';
Survey_Location = (1:246)';
[z,y,x] = ndgrid(Survey_Location,Destination,Origin);
out = [x(:),y(:),z(:)];
I can't copy the data, as it says data is too big to copy.
Kindly let me know how can I directly get the result or export this "out" file into Excel or txt file.
Thanks
采纳的回答
Image Analyst
2014-7-6
Don't try to copy the data from the workspace. Maybe the clipboard is not big enough, though I think it should be. Try using a function to write it out, like xlswrite() or csvwrite().
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!