Compiling Statistics Toolbox function

4 vues (au cours des 30 derniers jours)
Beatrice
Beatrice le 10 Juin 2015
Commenté : Greg le 21 Avr 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

Réponses (1)

Walter Roberson
Walter Roberson le 10 Juin 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 commentaires
Beatrice
Beatrice le 11 Juin 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 le 21 Avr 2017
I'm experiencing the same error. Any ideas?

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by