フィルターのクリア

Info

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

Appending new data for every operation in excel

1 回表示 (過去 30 日間)
KATARI LOKESH
KATARI LOKESH 2020 年 7 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi Experts,
I want to read every column of a csv file data and after every new operation , I need to append the newly obtained column data to same new csv file.
I have used dlmread and dlm write , can you please help me using dlmwrite.
clear all;close all;clc;
% R= omlfilename('fullpathext')
[num] = dlmread('Book1.csv');
for i =1: size(num,2)
maindata = num(:,i);
dlmwrite('test11.csv',maindata);
%%% Operation to be done
file = 'output.csv';
output= dlmread(file);
end
dlmwrite('cleandata.csv',output,',','-append')

回答 (1 件)

Anmol Dhiman
Anmol Dhiman 2020 年 7 月 26 日
Hi Lokesh,
Refer to answer for a similar question.
Regads,
Anmol Dhiman

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

Community Treasure Hunt

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

Start Hunting!

Translated by