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

Respuestas (1)

Ameer Hamza
Ameer Hamza el 29 de Sept. de 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 comentarios

SimTec
SimTec el 29 de Sept. de 2020
Editada: SimTec el 29 de Sept. de 2020
I have it but how can I install it:
MATLAB Version: 9.5.0.944444 (R2018b)
MATLAB License Number: 118069
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 17763)
Java Version: Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mo
do you have an idea which one I must install in the;?
Hardware Support Packages
Ameer Hamza
Ameer Hamza el 29 de Sept. de 2020
You can run the MATLAB installer for R2018b. When asked to select the packages, select Simulink coder.
SimTec
SimTec el 29 de Sept. de 2020
I have MATLAB 2020 version, can you please explain in steps what should I do?
Ameer Hamza
Ameer Hamza el 29 de Sept. de 2020
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
SimTec el 30 de Sept. de 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 el 30 de Sept. de 2020
Yes, MATLAB has different license types. You need to follow the instructions that will work for your case.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Preguntada:

el 29 de Sept. de 2020

Comentada:

el 30 de Sept. de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by