Fileparts Error while compiling application

1 Ansicht (letzte 30 Tage)
khcy82dyc
khcy82dyc am 1 Nov. 2016
Bearbeitet: khcy82dyc am 1 Nov. 2016
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

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by