matlab compiler to .Net dll
Show older comments
Hello, I am using matlab 2015a compiler to create a .NET dll. It seems that the "predict" command used in the .m file is decodeed from the 'System Identification Toolbox' rather than the 'Statistics and Machine learning Toolbox' in the dll created. I have tried to exclude the "ident" files from the matlab path, but it was in vain. Any thoughts? Thanks!
5 Comments
Harsheel
on 28 Jul 2015
Does the following work? It clears the matlabpath and adds only stats toolbox to the search path.
>> mcc -m yourMainFile.m -N -p stats
How did you figure that the "predict" command from ident was being used rather than from stats? Do you get any errors?
tel aviv university
on 30 Jul 2015
Harsheel
on 31 Jul 2015
Does the MATLAB file upon execution pick up the "predict" file from stats? Also, do you have a license for the stats toolbox:
>>license('test','stats')
>>license('checkout','stats')
If the MATLAB file runs correctly and the 2 commands give the correct answer, I'd contact MathWorks Technical Support
tel aviv university
on 4 Aug 2015
Harsheel
on 4 Aug 2015
Aah, interesting. Thanks for letting us know!
Answers (0)
Categories
Find more on MATLAB Compiler SDK 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!