Matlab Compiler too many input arguments error after compiling

1 Ansicht (letzte 30 Tage)
Dimitris
Dimitris am 21 Feb. 2019
Kommentiert: Adam am 21 Feb. 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 Kommentar
Adam
Adam am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown 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