Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to overwrite the structure reading data from xls file

2 visualizaciones (últimos 30 días)
anush
anush el 30 de Ag. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hallo everyone, how can i overwrite my structure data after reading the data from an xls file.. I need to store the particular cell value to my structure
function [my_struct] = read_Data(FileName,SheetName)
[~,~,raw]=xlsread('xyz','Data');
% Data(cellfun(@(x) ~isempty(x) && isnumeric(x) && isnan(x),data)) = {''};
%%Allocate imported array to column variable names
mystruct = cellVectors(:,1);
mystruct.device(ii,1).Name = data(:,1);
mystruct.device(ii,1).value = data(:,2);
my_struct=raw;
end

Respuestas (0)

La pregunta está cerrada.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by