Putting the results of some variables in one sheet

Hi all,
I've written a program with some outputs like 'a', 'b', 'c' which are seprated in different sheets of MATLAB.
To see the results in 'a', 'b', 'c',I have to click and open three times which is time-consuming.
How can I write some comands to put the results of 'a', 'b', 'c' beside each other.
I mean 'a', 'b', 'c' are presented in one table whit the heading of 'a', 'b', 'c' .
How can I write this program?
Thanks in advance.

6 comentarios

what is 'a'?
som
som el 8 de Dic. de 2012
as I showed a, b and c are three variabels which are outputs of a program .
per isakson
per isakson el 8 de Dic. de 2012
Editada: per isakson el 8 de Dic. de 2012
What meaning do you put in the word "sheet"?
som
som el 8 de Dic. de 2012
I mean 'a', 'b', 'c' are presented in one table whit the heading of 'a', 'b', 'c' .
Do you mean uitable() in three different figures at present? Or do you mean you are outputting three different Excel files? Or do you mean you are outputting to three different "sheets" within one Excel file?
som
som el 8 de Dic. de 2012
I mean " Or do you mean you are outputting to three different "sheets" within one Excel file?"

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 8 de Dic. de 2012

0 votos

If the outputs are the same size, then put them together in a cell array and xlswrite() the cell array. You might find num2cell() useful along the way.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

som
el 8 de Dic. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by