필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
prabhusrinivas yavvari
prabhusrinivas yavvari 2020년 8월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Ayush Gupta
Ayush Gupta 2020년 8월 31일
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.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by