フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to overwrite the structure reading data from xls file

2 ビュー (過去 30 日間)
anush
anush 2017 年 8 月 30 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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

回答 (0 件)

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by