필터 지우기
필터 지우기

How to copy data of one text file to another text file in matlab.

조회 수: 1 (최근 30일)
priyanka
priyanka 2015년 5월 15일
댓글: Joseph Cheng 2015년 5월 15일
I need to copy data (string, space and special characters are included) of one text (.txt) file into another text (.txt) file.

답변 (1개)

Star Strider
Star Strider 2015년 5월 15일
Use the copyfile function.
  댓글 수: 1
Joseph Cheng
Joseph Cheng 2015년 5월 15일
if you do not want to make just another copy of the file and insert it into another txt file. read up on fopen, fgetl, fwrite, fprintf, and see which ones suit your needs.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 String Parsing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by