MinGW64 Compiler (C++) toolchain is not supported for mkldnn target.
조회 수: 52 (최근 30일)
이전 댓글 표시
When I use matlab block function on simulink, I get the error
function y= fnc(u)
persistent net
if isempty(net)
net = coder.loadDeepLearningNetwork('32.mat');
end
input= [u];
input=rescale(input);
XTrain = {input'};
output= predict(net, XTrain, 'MiniBatchSize', 1);
y=output{1};
end
Error:Deep learning code generation using MinGW64 Compiler (C++) toolchain is not supported for mkldnn target.
Function 'MATLAB Function' (#426.60.106), line 4, column 11:
"coder.loadDeepLearningNetwork('32.mat')"
Launch diagnostic report.
댓글 수: 8
Walter Roberson
2025년 10월 8일 1:21
After you install them, you need to use mex -setup cpp and select Visual C++
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!