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?

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'"

 Akzeptierte Antwort

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.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by