can i convert matlab simulink model into matlab code?
46 views (last 30 days)
Show older comments
I have simulink models in digital communication , then can i convert it into matlab codes?
0 Comments
Answers (1)
Walter Roberson
on 20 Oct 2020
Edited: Walter Roberson
on 20 Oct 2020
No. There are no tools to convert Simulink to MATLAB. There are tools to convert Simulink to C or C++.
Most Simulink blocks have equivalent MATLAB functions, so sometimes Re-implementation in MATLAB is not so difficult.
2 Comments
Khalid Javed
on 1 Feb 2021
Can you please specify some tools which can be used to convert simulink to C or C++?
Thanks
Best Regards
Khalid Javed
Walter Roberson
on 1 Feb 2021
https://www.mathworks.com/products/simulink-coder.html
https://www.mathworks.com/help/supportpkg/arduino/ug/generate-code-and-deploy-the-model-to-the-hardware.html
See Also
Categories
Find more on Simulink Functions 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!