Error in determining the root folder
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi ,
I'm trying to use determineRootFolder but Im getting an error: [Excel_File_Name,templatePath,outputFilePath] = determineRootFolder({Excel_File_Name,templatePath,outputFilePath},{'New Volume','New Volume','New Volume'});
How can I use determineRootFolder properly?
Thanks, Bahar
댓글 수: 3
Walter Roberson
2018년 11월 5일
https://github.com/vshaxe/vscode-checkstyle/blob/master/src/Main.hx or http://www.massapi.com/class/po/PortletRequest.html have java implementations, which appear to do different things, and which do not appear to have the same function signature as you are using.
I do not find a MATLAB function by that name.
답변 (1개)
Sebastian Castro
2018년 11월 7일
If you want the name of the current folder
>> folderName = pwd;
If you want the name of the file containing the MATLAB script/function itself:
>> folderName = fileparts(mfilename('fullpath'));
- Sebastian
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!