How do I change the name of a file inputted to a function in MATLAB?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to input a text file to a function, and after running the function, want to change the filename to a specific thing, depending on the results of the function. For example, if the function classifies the folder as belonging to History, I want to rename the text document to History1, if another test file gets classified as belonging to topic history, I want it to be renamed as History2, and so on, and placed in a specific folder.
댓글 수: 2
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Text Data Preparation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!