Export data to excel or text file directly
Show older comments
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
4 Comments
James Tursa
on 6 Jul 2014
Edited: James Tursa
on 6 Jul 2014
Can't copy it where? The variables are not that big (13MB for x, y, z, and 37MB for out). What statement causes the error message? Can you post the exact error message you get? What do you get when you type the "memory" command?
Image Analyst
on 6 Jul 2014
Edited: Image Analyst
on 6 Jul 2014
Note: This should have been added to the original question at http://www.mathworks.com/matlabcentral/answers/140602-need-algorithm-to-create-the-list By the way, that code runs with no errors for me. Please post the exact error message - don't snip out just a small part of it but put ALL THE RED TEXT.
Fayyaz
on 6 Jul 2014
Fayyaz
on 6 Jul 2014
Accepted Answer
More Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!