Why do I see the error message "Unable to resolve the name coder.loadMatObj." when doing code generation with Deep Learning Toolbox block inside in R2020b?

16 views (last 30 days)
When trying to generate code of Deep Learning Toolbox blocks in Simulink an error shows up and it does not say, how to resolve it.
The full error message looks similar to:
"Unable to resolve the name coder.loadMatObj. Function 'Predict/MLFB' (#80.48.173), line 2, column 11: "deep.blocks.internal.deepNetwork({in_1}, {size(in_1)}, 'untitled/Predict', 'D:\w"
Component:MATLAB Function | Category:Coder error
Errors occurred during parsing of MATLAB function 'untitled/Predict/MLFB'"

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 1 Oct 2020
Edited: MathWorks Support Team on 1 Oct 2020
This error is only present when the following support package is not installed:
"MATLAB Coder Interface for Deep Learning Libraries"
In order to resolve the error message, please install this support package.
Our development team will enhance the error message in a future release.

More Answers (0)

Categories

Find more on MATLAB Coder 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!