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