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
Ameer Hamza 2020년 9월 29일

0 개 추천

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

SimTec
SimTec 2020년 9월 29일
편집: SimTec 2020년 9월 29일
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
You can run the MATLAB installer for R2018b. When asked to select the packages, select Simulink coder.
SimTec
SimTec 2020년 9월 29일
I have MATLAB 2020 version, can you please explain in steps what should I do?
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 2020년 9월 30일
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?
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에 대해 자세히 알아보기

질문:

2020년 9월 29일

댓글:

2020년 9월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by