Save file to other directory other than current directory.

조회 수: 1 (최근 30일)
azizullah khan
azizullah khan 2014년 8월 6일
댓글: azizullah khan 2014년 8월 6일
i want to save files to other directory other than current directory in a loop.
my current directory
C:\Users\folder
and in this folder i.e directory i have function which are called in a loop
so at the end of loop i have to change directory so that i can save files in other directory
like C:\someother location
i am using xlswrite to save the files .
and at over all simulation i have to maintain the current so that the other function can be
called. will appreciate any kind of help..thanks.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 8월 6일
folder=C:\someother location
file=fullfile(folder,your_file_name)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by