how to find certain values in cells ?

1 visualización (últimos 30 días)
Leonardo Wayne
Leonardo Wayne el 18 de Abr. de 2016
Comentada: Ghost el 20 de Abr. de 2016
see attached.
I am using xlsread to load data from an xls file into matlab as a cell. I would like to return all the cell values in the first column starting from row 15 until the first NaN into a variable called "List"(of type cell or integer preferably).

Respuesta aceptada

Ghost
Ghost el 18 de Abr. de 2016
Define your sheet and xlrange something similar to this
for f = 1:end;
A(:,f) = ALL(:,f);
sheet = 1;
xlRange = 'A2';
xlswrite(Exel_filename,A,sheet,xlRange)
end
  3 comentarios
Leonardo Wayne
Leonardo Wayne el 18 de Abr. de 2016
never mind that I have found a way around it :)
Ghost
Ghost el 20 de Abr. de 2016
Will be good if you can share how did you solve it.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by