Compiling Statistics Toolbox function

4 次查看(过去 30 天)
Beatrice
Beatrice 2015-6-10
评论: Greg 2017-4-21
Hello,
I am writing a tool which uses some of the Statistics Toolbox function, but there is an error in the compiled version when these functions are to be run. Does this mean they can't be compiled? If so, is there a way around that? I would be very grateful for any answer or advice you may have. I am using Matlab 2013b and the associated compiler and compiler runtime. Thank you

回答(1 个)

Walter Roberson
Walter Roberson 2015-6-10
"All command line functionality" is supported.
That is the case for R2015a; I do not have access to the R2013b version of the documentation to check it.
  2 个评论
Beatrice
Beatrice 2015-6-11
Thank you for this answer. Does this mean that functions such as RegressionTree.fit should be compiled with the rest of the Matlab files? The standalone version (but not the source version) returns the following error when the script is run:
Undefined function 'classreg.learning.modelparams.TreeParams.make' for input arguments of type 'cell'.
Error in classreg.learning.FitTemplate/fillIfNeeded (line 508)
Error in classreg.learning.FitTemplate.make (line 122)
Error in RegressionTree.template (line 284)
Error in RegressionTree.fit (line 213)
I imagine this is due to the file being absent after compilation, since this script works perfectly before compilation. Do you have any idea what could be causing this?
Greg
Greg 2017-4-21
I'm experiencing the same error. Any ideas?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by