フィルターのクリア

Matlab Compiler too many input arguments error after compiling

3 ビュー (過去 30 日間)
Dimitris
Dimitris 2019 年 2 月 21 日
コメント済み: Adam 2019 年 2 月 21 日
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 件のコメント
Adam
Adam 2019 年 2 月 21 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by