Borrar filtros
Borrar filtros

MATLAB 2021a produces a compilation error on older MATLAB code.

4 visualizaciones (últimos 30 días)
Prashanth Kasbekar
Prashanth Kasbekar el 24 de En. de 2023
Comentada: Image Analyst el 27 de En. de 2023
I have a MATLAB application written in MATLAB 2019a which I can compile into a .exe. I wish to port the code to 2021a. The application can be opened and closed without issues. But when I try to compile the code using mcc for 2021a, I get the following error message which I don't get when using 2019a.
Compiler version: 8.2 (R2021a)
Analyzing file dependencies.
Error while determining required deployable files. Compilation terminated. Details:
Unable to resolve the name dependencies.internal.graph.Node.createFileNode.
How do I debug this ?

Respuestas (1)

Image Analyst
Image Analyst el 24 de En. de 2023
I don't know. Maybe you're missing a file. How many dependent files are there? Do you want to see if I can compile it? If not, then call tech support. Or call the attached function in your startup code.
  2 comentarios
Prashanth Kasbekar
Prashanth Kasbekar el 27 de En. de 2023
I tried to find what is dependencies.internal.graph.Node.createFileNode.
On 2019a, it is a static function inside the package dependencies.internal.graph.Node. This function doesn't exist in 2021a.
So the problem is that this MATLAB package has changed. But I cannot find out what is this package for, where and how this package is used in my code. Is there a way to find out?
Image Analyst
Image Analyst el 27 de En. de 2023
I don't know anything about that package. Call tech support.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by