how to import the result into excel file

조회 수: 21 (최근 30일)
sunitha
sunitha 2021년 2월 9일
답변: Mathieu NOE 2021년 2월 9일
i want to import the result into excel file.i use xlswrite command but i didnt get the data into excel

답변 (1개)

Mathieu NOE
Mathieu NOE 2021년 2월 9일
hello
see 2 methods example below :
for k=1:10
xlswrite('Result.xlsx',rand(k),k); % option 1
writematrix(rand(k),'myData.xlsx','Sheet',k); % option 2
end
%

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by