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 Comments

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.
Many thanks for the response!
Do you have any example that I can start with?
Why don't you start with what you've gotten so far...

Sign in to comment.

Answers (1)

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

Products

Release

R2020a

Asked:

on 24 Jun 2021

Answered:

on 28 Jun 2021

Community Treasure Hunt

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

Start Hunting!