exportONNXNetwork
R2026bDescription
Add-On Required: This feature requires the Visual Inspection Toolbox Model for YOLOX Object Detection add-on.
Export a trained YOLOX object detector to an ONNX model file using the
exportONNXNetwork function. You can create, train, and tune the object
detection model in MATLAB®, export the trained model using the exportONNXNetwork
function, and deploy the model in environments that run in ONNX Runtime.
exportONNXNetwork(___,
configures the exported ONNX model using one or more optional name-value arguments, in
addition to the input arguments from the previous syntax. For example,
Name=Value)OpsetVersion=15 specifies the version of ONNX operator set to use in
the exported model as 15.
Examples
Input Arguments
Name-Value Arguments
References
[1] Open Neural Network Exchange. https://github.com/onnx/. Accessed June 22, 2026.
[2] ONNX. https://onnx.ai/. Accessed June 22, 2026.
[3] ONNX Operators. https://github.com/onnx/onnx/blob/master/docs/Operators.md Accessed June 22, 2026.
Version History
Introduced in R2026b
