I cannot find the code generation in my matlab?

23 views (last 30 days)
SimTec
SimTec on 29 Sep 2020
Commented: Ameer Hamza on 30 Sep 2020
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

Answers (1)

Ameer Hamza
Ameer Hamza on 29 Sep 2020
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 Comments
SimTec
SimTec on 30 Sep 2020
whenever I install it it ask me to ge t the licesne from my administarot in the company. seems it has its own licence, am I wrong?
Ameer Hamza
Ameer Hamza on 30 Sep 2020
Yes, MATLAB has different license types. You need to follow the instructions that will work for your case.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing 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!