Why do I get the error saying I need to install Coder products when they are already installed?
조회 수: 51 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2023년 7월 13일
편집: MathWorks Support Team
2025년 6월 15일
I'm encountering the error message below stating that I need to install Coder products, even though I already have MATLAB Coder, Simulink Coder, and Embedded Coder installed with valid licenses. How can I resolve this error and proceed with code generation?
MATLAB Coder, Simulink Coder and Embedded Coder products are required to
generate code for this hardware board. Install the required products.
채택된 답변
MathWorks Support Team
2024년 10월 3일
편집: MathWorks Support Team
2025년 6월 15일
To troubleshoot this issue, first ensure that you have indeed MATLAB Coder, Simulink Coder, and Embedded Coder properly installed and licensed. You can refer to the following link for detailed instructions:
If all the Coder products are indeed installed and licensed correctly, it's possible that the code generation functionality is not enabled for your model. You can enable it by executing the following commands in MATLAB:
>> mdl = 'ModelName';
>> load_system(mdl);
>> set_param(mdl,'UseSimulinkCoderFeatures','on')
>> set_param(mdl,'UseEmbeddedCoderFeatures','on')
By enabling these features, you should be able to proceed with code generation successfully.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
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!