How do I access a folder that is inside the current folder while running a function?
이전 댓글 표시
I am writing a function that in different steps needs to access 1 or 2 files in different folders. The function will look something like this:
function Calculation = calc(n)
where n is the name of the file. Each of the folders will have one file named "N" and I want the program to go through each file and get the image data for that file.
댓글 수: 2
Walter Roberson
2015년 7월 25일
Is n the name of the folder or the name of the file or the name of the combination?
Sulaiman Alvi
2015년 7월 25일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Search Path에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!