How to export cell of double arrays to Excel?

조회 수: 10 (최근 30일)
Nut
Nut 2017년 10월 21일
답변: Corey Silva 2020년 1월 17일
Hi,
I have to declare the following variable:
Param = {[1,2],[3,4],[5,6],[7,8,9,10]};
and I need to export it into an Excel file, as shown by the attached image.
What is the simplest way to do this?
Thank you very much for your answers.

답변 (1개)

Corey Silva
Corey Silva 2020년 1월 17일
The writecell function should do exactly what you need.
writecell(Param)

카테고리

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