run importONNXLayers on the PC without Deep Learning Toolbox Converter for ONNX Model Format

8 views (last 30 days)
I installed the Deep Learning Toolbox Converter for ONNX Model Format toolbox on my PC, I can run importONNXLayers on my PC.
Then I build a MATLAB executable .exe to run on another PC (Mathworks Matlab Runtime R2022a is installed) without Deep Learning Toolbox Converter for ONNX Model Format, the exe crash with the following information:
*ERROR: Undefined function 'importONNXLayers' ...
I want to know how to resolve this issue. Matlab experts please help me. Thanks.

Accepted Answer

Sivylla Paraskevopoulou
Sivylla Paraskevopoulou on 10 Apr 2023
Hi Bo,
You can deploy only the imported network using MATLAB Compiler. You cannot deploy import functions, such as importTensorFlowNetwork and importONNXNetwork. For more details, see Deploy Imported TensorFlow Model with MATLAB Compiler.
  4 Comments
bo
bo on 13 Apr 2023
hi, thanks your reply.
Now I have a another question.
I installed Matlab R2022a on my PC, Deep Learning Toolbox is also installed. I used the functions of Deep Learning Toolbox in my code, then build a Matlab executable.
I want to run this Matlab executable on another PC, Matlab Runtime R2022a is installed on this PC, I found Deep Learning Toolbox is not installed, Matlab executable crash when running on this PC.
Do you know how to install Deep Learning Toolbox in Matlab Runtime? or how can I run the executable on the PC without Deep Learning Toolbox installed?
Thanks.
Sivylla Paraskevopoulou
Sivylla Paraskevopoulou on 14 Apr 2023
A standalone executable you create with MATLAB Compiler is independent of MATLAB, so you should be able to run it even if you don't have MATLAB desktop installed.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!