is not in the application's expanded CTF archive at
Show older comments
Hello,
I have compiled my SVM trained model using " mcc -m mypredict9_7.m -a 'mymodel2.mat' "
When deploying my SVM trained model I get the following error:
The file
'C:\Program Files\Polyspace\R2020b\toolbox\stats\mlearnapp\+mlearnapp\+internal\+model\DatasetSpecification.m'
is not in the application's expanded CTF archive at
'C:\Users\user\AppData\Local\Temp\user\mcrCache9.9\mypred3'.
Please advise on solving this issue.
Hussein
Answers (1)
Steven Lord
on 2 Jan 2023
0 votes
As per the first Tip on this documentation page, if there is no call to the constructor of the class in your application the static analysis that determines what needs to be in the MCR can't tell it needs to include it. You need to explicitly tell MATLAB Compiler to include that class in the MCR using %#function or the -a option.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!