How do I combine multiple MATLAB files into a single file?
조회 수: 18 (최근 30일)
이전 댓글 표시
I would like to combine multiple MATLAB files into a single file.
채택된 답변
MathWorks Support Team
2010년 1월 16일
While there is no MATLAB function that performs this, this objective can be accomplished by entering the following DOS command at the MATLAB command prompt:
!copy *.m combined.m
Alternatively you can use the file operation commands to read the files and write them out into a single file.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!