I cannot find the code generation in my matlab?
古いコメントを表示
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

回答 (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 月 29 日
You can run the MATLAB installer for R2018b. When asked to select the packages, select Simulink coder.
SimTec
2020 年 9 月 29 日
Ameer Hamza
2020 年 9 月 29 日
Your previous comment shows the MATLAB version is R2018b. Even in the case of R2020, login to the mathwork account. Select your license. Download the installer. And when installing, select the Simulink installer from the list of all toolboxes.
SimTec
2020 年 9 月 30 日
Ameer Hamza
2020 年 9 月 30 日
Yes, MATLAB has different license types. You need to follow the instructions that will work for your case.
カテゴリ
ヘルプ センター および 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!