Error using nnet.inter​nal.cnn.on​nx.convert​er

I've a pretrained squeeznet model and changed the last layers, and when I try to export my network this error appears Error using nnet.internal.cnn.onnx.onnxmex
Invalid MEX-file
'C:\ProgramData\MATLAB\SupportPackages\R2025b\toolbox\nnet\supportpackages\onnx\+nnet\+internal\+cnn\+onnx\onnxmex.mexw64': No se
encontró el proceso especificado.
Error in
ModelPtr = onnxmex(int32(FuncName.EnewModelProto));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in
writeToFile(modelProto, Filename);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in
nnet.internal.cnn.onnx.exportONNXNetwork(Network, filename, varargin{:});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
anyone knows how to fix it?

1 Comment

"No se encontró el proceso especificado." translates to English as "The specified process was not found."
It is not clear to me which process is being referred to.
It might possibly be the case that onnxmex.mexw64 is corrupt and that the Support Package for ONNX needs to be reinstalled.

Sign in to comment.

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Asked:

on 2 Jun 2026

Commented:

on 2 Jun 2026

Community Treasure Hunt

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

Start Hunting!