Problem running win32 generated executable - Undefined variable "internal.​stats.pars​eArgs"

1 view (last 30 days)
I have generated an executable using R2014a that uses the statistics toolbox. The executable will generate the following error when I use 32-bit matlab to generate a Windows 32-bit executable:
Undefined variable "internal" or class "internal.stats.parseArgs".
Error in classreg.learning.classif.CompactClassificationTree/predict (line 549)
I also generated the executable using the same code as a 64-bit one compiled on 64-bit matlab and this error does not occur. What I don't understand is why the 32-bit matlab does not find toolbox/stats/stats/+internal/+stats/parseArgs.m but is able to find toolbox/stats/classreg/+classreg/+learning/+classif/. Also adding %#function internal.stats.parseArgs does not work.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!