Bug report for R2020a

1 Ansicht (letzte 30 Tage)
Sandeep Ganji
Sandeep Ganji am 13 Aug. 2020
Bearbeitet: Sandeep Ganji am 13 Aug. 2020
Hi all,
Found a bug in the MATLAB 2020a, when using the mcc (code compilation)
Error while determining required deployable files. Compilation terminated. Details:
Error using matlab.depfun.internal.cacheMtree (line 35)
MATLAB code '~\AppData\Roaming\MathWorks\MATLAB Add-Ons\Collections\MATLAB Schemer\scottclowe-matlab-schemer-2156bb9\develop\sample.m' contains the
following syntax error(s):
L 6 (C 18-40): STRIN: A quoted character vector is unterminated.
Tracing it if led to '~\AppData\Roaming\MathWorks\MATLAB Add-Ons\Collections\MATLAB Schemer\scottclowe-matlab-schemer-2156bb9\develop\sample.m'
fprintf(fid, '%d unterminated\n, i);
That fprint line was not properly terminated, changing it to
fprintf(fid, '%d unterminated\n', i);
fixed the issue.

Antworten (1)

Steven Lord
Steven Lord am 13 Aug. 2020
I suspect that sample.m file is part of this submission on the File Exchange. A note in the description of that submission states:
"If you find a bug in the code, please report it by creating an issue on GitHub:
Since the problem is not in a MathWorks-provided file you should probably report the bug there rather than to Technical Support.
  1 Kommentar
Sandeep Ganji
Sandeep Ganji am 13 Aug. 2020
Bearbeitet: Sandeep Ganji am 13 Aug. 2020
I'm surprised that this was included in the mcc build though.
Posted the issue on the Github page too.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Application Deployment finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by