ERROR when using exportONNXNetwork(The file cannot be accessed) 使用exportONNXNNetwork 函数报错:系统无法访问该文件

错误使用 nnet.internal.cnn.onnx.onnxmex
MEX 文件 'C:\ProgramData\MATLAB\SupportPackages\R2023b\toolbox\nnet\supportpackages\onnx\+nnet\+internal\+cnn\+onnx\onnxmex.mexw64'
无效: 系统无法访问此文件。
出错 nnet.internal.cnn.onnx.ModelProto/writeToFile (第 58 行)
ModelPtr = onnxmex(int32(FuncName.EnewModelProto));
出错 nnet.internal.cnn.onnx.exportONNXNetwork (第 21 行)
writeToFile(modelProto, Filename);
出错 exportONNXNetwork (第 44 行)
nnet.internal.cnn.onnx.exportONNXNetwork(Network, filename, varargin{:});

Answers (0)

Categories

Find more on MATLAB 快速入门 in Help Center and File Exchange

Products

Release

R2023b

Tags

Asked:

on 30 Sep 2023

Commented:

凤
on 14 Dec 2025

Community Treasure Hunt

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

Start Hunting!