Borrar filtros
Borrar filtros

Matlab Compiler too many input arguments error after compiling

3 visualizaciones (últimos 30 días)
Dimitris
Dimitris el 21 de Feb. de 2019
Comentada: Adam el 21 de Feb. de 2019
Hi all,
I am trying to evaluate a Matlab Compiler license.
I have a collection of Matlab scripts that are all compiling and working fine when conventially run with Matlab.
When I use the Matlab Compiler to export a standalone application and then try to open the exported application I receive an error saying
"Too many input arguments" at a specific line. This line indeed holds a function with a big amount of arguments but I have checked again and again and the argument number in the implementation of the function matches the call of the function at that line where the function is called. There is no mismatch in number of arguments.
Furthermore my code scripts run fine when using Matlab to run them, so I do not know what can be going wrong or how to fix the issue.
Is there a different way that the Matlab Compiler interprets input arguments? Are there limitations to the number of arguments or how those are inserted in a function?
Any thoughts or help that can put me to the right direction would be appreciated!
  1 comentario
Adam
Adam el 21 de Feb. de 2019
I'm not aware that Matlab Compiler supports scripts. I can't actually see anywhere in the documentation that says so now, but that has always been my understanding. Scripts don't have a sealed workspace so if they rely on anything already beinig in the workspace they wouldn't work.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by