Borrar filtros
Borrar filtros

Info

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

Appending new data for every operation in excel

1 visualización (últimos 30 días)
KATARI LOKESH
KATARI LOKESH el 13 de Jul. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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')

Respuestas (1)

Anmol Dhiman
Anmol Dhiman el 26 de Jul. de 2020
Hi Lokesh,
Refer to answer for a similar question.
Regads,
Anmol Dhiman

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by