Fileparts Error while compiling application
4 ビュー (過去 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!