필터 지우기
필터 지우기

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