I cannot find the code generation in my matlab?
17 次查看(过去 30 天)
显示 更早的评论
I would like to generate C code of my PI controller but I cound not find it even i followed some tutorials, seems I don't have the same configurations
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/368326/image.png)
0 个评论
回答(1 个)
Ameer Hamza
2020-9-29
You need Simulink coder: https://www.mathworks.com/products/simulink-coder.html to generate code for the Simulink model. To check if it is installed, run the following line in the command window
ver simulinkcoder
If you get a warning, it will mean that you don't have it installed.
6 个评论
Ameer Hamza
2020-9-30
Yes, MATLAB has different license types. You need to follow the instructions that will work for your case.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!