How to use trained neural network in different language

4 views (last 30 days)
Hello everybody,
i wanted to ask how to use my trained neural network in matlab in a different language like c++. It should be possible by using the weights and bias to implement my neural network in a different framework by using matrix multiplication. Is there literature that could help me ?
KSSV on 12 Oct 2022
You can save the trained network into a m file to deploy for your purposes. In there, you will get the flow on how to use it via matrix multiplication.
bah on 12 Oct 2022
Thanks for the quick reply. So basically using matrix multiplication in c++ i should be able to deploy and use my trained NN once i understand the flow ? All i need is the weights and the flow right ?

Sign in to comment.

Accepted Answer

Mandar on 17 Oct 2022
I understand that you want make use of neural networks trained in MATLAB to other plaforms such as C++.
As a workaround, please refer to the link below.

More Answers (0)


Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!