Leaving a line after writing to an excel sheet

I am writing a matrices to an excel sheet and after writing every matrix, I want to leave a line (row in excel) such that the matrices are not mixed up.
For e.g.,
A B C D ......
1 Matrix 1
2
3 Matrix 2
4
5 Matrix 3
6
7 Matrix 4
8

3 comentarios

dpb
dpb el 24 de Jun. de 2021
That's just a simple bookkeeping exercise in you code that does the writing -- you need to keep a running sum of the row size of each array written plus the extra record and begin the next write at the proper row number.
Ketan Shende
Ketan Shende el 24 de Jun. de 2021
Many thanks for the response!
Do you have any example that I can start with?
dpb
dpb el 25 de Jun. de 2021
Why don't you start with what you've gotten so far...

Iniciar sesión para comentar.

Respuestas (1)

Swatantra Mahato
Swatantra Mahato el 28 de Jun. de 2021

0 votos

Hi Ketan,
You can refer the examples in the documentation for the "writematrix" function to get started on writing matrices to a particular position in an Excel worksheet
Hope this helps

Productos

Versión

R2020a

Preguntada:

el 24 de Jun. de 2021

Respondida:

el 28 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by