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 个)

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by