Info
This question is closed. Reopen it to edit or answer.
problem with xlswrite function
1 view (last 30 days)
Show older comments
Hello everybody. I have an array of numbers called "a" which contains some integer values from -2 to 2; If I write
disp(a);
I see in the matlab window all its values but with
xlswrite('data.xls', a, 1, 'H2:H102');
Every value is turned to 0. How this is possible?
0 Comments
Answers (1)
Image Analyst
on 31 May 2013
This works just fine for me:
a = randi(5, [101,1])-3
disp(a);
xlswrite('data.xls', a, 1, 'H2:H102');
I see all the numbers in Excel like I expect.
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!