Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

problem with xlswrite function

2 Ansichten (letzte 30 Tage)
Umberto
Umberto am 31 Mai 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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?

Antworten (1)

Image Analyst
Image Analyst am 31 Mai 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.

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by