필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

problem with xlswrite function

조회 수: 2 (최근 30일)
Umberto
Umberto 2013년 5월 31일
마감: MATLAB Answer Bot 2021년 8월 20일
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?

답변 (1개)

Image Analyst
Image Analyst 2013년 5월 31일
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.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by