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

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2020년 10월 1일
편집: MathWorks Support Team 2020년 10월 1일
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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by