Azzera filtri
Azzera filtri

Matlab Compiler too many input arguments error after compiling

3 visualizzazioni (ultimi 30 giorni)
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 Commento
Adam
Adam il 21 Feb 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by