Fileparts Error while compiling application
6 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on String Parsing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!