Uploaded October 2025 | Updated September 2026, 2 weeks ago
You can train neural networks in MATLAB, but sometimes you already have a trained network in PyTorch that you just want to import and use with MATLAB code, apps, or features. Learn how you can accomplish this with MATLAB code or by using the Deep Network Designer app.
This video uses the following products:
- MATLAB
- Deep Learning Toolbox
- Deep Learning Toolbox Converter for PyTorch Models support package
Related Resources:
- Learn more about importing programmatically: bit.ly/41OicTn
- Learn more about importing using Deep Network Designer: bit.ly/429Ddrr
- Documentation for the trace function in PyTorch: bit.ly/4vm3kZ6
- Learn more about importing pretrained networks from external platforms: bit.ly/4njk136
Chapters
0:00 Introduction
0:55 Import with MATLAB Code
2:15 Using an imported model
3:18 Import with Deep Network Designer
4:31 Conclusion
--------------------------------------------------------------------------------------------------------
Get a free product trial: goo.gl/ZHFb5u
Learn more about MATLAB: goo.gl/8QV7ZZ
Learn more about Simulink: goo.gl/nqnbLe
See what's new in MATLAB and Simulink: goo.gl/pgGtod
© 2025 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.
You can train neural networks in MATLAB, but sometimes you already have a trained network in PyTorch that you just want to import and use with MATLAB code, apps, or features. Learn how you can accomplish this with MATLAB code or by using the Deep Network Designer app.
This video uses the following products:
- MATLAB
- Deep Learning Toolbox
- Deep Learning Toolbox Converter for PyTorch Models support package
Related Resources:
- Learn more about importing programmatically: bit.ly/41OicTn
- Learn more about importing using Deep Network Designer: bit.ly/429Ddrr
- Documentation for the trace function in PyTorch: bit.ly/4vm3kZ6
- Learn more about importing pretrained networks from external platforms: bit.ly/4njk136
Chapters
0:00 Introduction
0:55 Import with MATLAB Code
2:15 Using an imported model
3:18 Import with Deep Network Designer
4:31 Conclusion
--------------------------------------------------------------------------------------------------------
Get a free product trial: goo.gl/ZHFb5u
Learn more about MATLAB: goo.gl/8QV7ZZ
Learn more about Simulink: goo.gl/nqnbLe
See what's new in MATLAB and Simulink: goo.gl/pgGtod
© 2025 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.










