Fileparts Error while compiling application
조회 수: 7 (최근 30일)
이전 댓글 표시
Hello, I was compiling the standalone matlab application, when I was selecting the main files it used to work no problem at all and automatically imported all the required files. But this time I got errors: The following error was encountered when analyzing user added files input. Input must be a row vector of characters. I managed to track down where the compiling stopped and found it's in the file part function: if ~ischar(file) I've printed and copied the file variable which are as followed: does anyone has the same issue?
file = built-in (C:\Program Files\MATLAB\R2016a\toolbox\matlab\lang\disp)
file = built-in (C:\Program Files\MATLAB\R2016a\toolbox\matlab\lang\opaque)
file = Columns 1 through 39 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 Columns 40 through 78 0 0 0 0 0 0 1 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 1 1 0 0 1 0 0 0 0 0 1 1 0 Columns 79 through 117 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 1 0 0 1 1 1 1 1 1 1 1 1 1 Columns 118 through 120 0 0 1
Error using fileparts (line 33) Input must be a row vector of characters.
I've updated MATLAB to 2016b and the error message become: file analysis was canceled because the following error occurred: the first input to exist must be a character vector
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 String Parsing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!