Writing Arrays from Matlab to Excel

2 vues (au cours des 30 derniers jours)
Virginia
Virginia le 29 Juin 2013
Hello, I know how to write matrix from matlab to excel. But what I can do if I need to write a set of matrices whose dimensions vary, that is: I have a matrix A (n, n) and then a matrix B (1, c) where 'n' and 'c' are variable, so therefore I can not write with xlswrite specifiying a range of cells because the size of the matrices are not always constant. I want to write matrix A and then B separated with a code by an empty cell.

Réponse acceptée

Matt J
Matt J le 29 Juin 2013
Modifié(e) : Matt J le 29 Juin 2013
Call xlswrite multiple times, first to write A, then to write B.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by