Info

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

exporting data from bulk analysis (function/script in a loop)

2 visualizaciones (últimos 30 días)
prabhusrinivas yavvari
prabhusrinivas yavvari el 27 de Ag. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I have a series of txt files from which I need to analyse the variables using a script. I am able to get the analysis in the display. however I wanted to save the data in a single txt or excel file where I get the filename and the generated data.
lets say
each txt file has two columns with A and corresponding value of B in same row
then get C= A+B, D=A-B, E= A*B
for each file I analyse in the loop I get C,D,E.
I need to save the value of C,D,E generated from each txt file in an excel sheet with headers
txt file name ValueC ValueD ValueE

Respuestas (1)

Ayush Gupta
Ayush Gupta el 31 de Ag. de 2020
If the format of the data to be exported is a table then writetable can be used. For guidance on how to use the function, refer to the documentation.

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by