Compiling Statistics Toolbox function

4 Ansichten (letzte 30 Tage)
Beatrice
Beatrice am 10 Jun. 2015
Kommentiert: Greg am 21 Apr. 2017
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

Antworten (1)

Walter Roberson
Walter Roberson am 10 Jun. 2015
"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 Kommentare
Beatrice
Beatrice am 11 Jun. 2015
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 am 21 Apr. 2017
I'm experiencing the same error. Any ideas?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Compiler 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