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?

10 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by